summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui-libs/display-manager-init/display-manager-init-1.1.1.ebuild (renamed from gui-libs/display-manager-init/display-manager-init-1.1.ebuild)2
-rw-r--r--gui-libs/display-manager-init/files/display-manager.initd-r4 (renamed from gui-libs/display-manager-init/files/display-manager.initd-r3)2
2 files changed, 2 insertions, 2 deletions
diff --git a/gui-libs/display-manager-init/display-manager-init-1.1.ebuild b/gui-libs/display-manager-init/display-manager-init-1.1.1.ebuild
index adecdb877f9e..a8d86b970cd2 100644
--- a/gui-libs/display-manager-init/display-manager-init-1.1.ebuild
+++ b/gui-libs/display-manager-init/display-manager-init-1.1.1.ebuild
@@ -22,7 +22,7 @@ RDEPEND="
src_install() {
newinitd "${FILESDIR}"/display-manager-setup.initd-r1 display-manager-setup
- newinitd "${FILESDIR}"/display-manager.initd-r3 display-manager
+ newinitd "${FILESDIR}"/display-manager.initd-r4 display-manager
newinitd "${FILESDIR}"/xdm.initd xdm
newconfd "${FILESDIR}"/display-manager.confd display-manager
newbin "${FILESDIR}"/startDM-r1 startDM
diff --git a/gui-libs/display-manager-init/files/display-manager.initd-r3 b/gui-libs/display-manager-init/files/display-manager.initd-r4
index 8e94c2ea637b..460c91e86944 100644
--- a/gui-libs/display-manager-init/files/display-manager.initd-r3
+++ b/gui-libs/display-manager-init/files/display-manager.initd-r4
@@ -189,7 +189,7 @@ stop_pre() {
stop_post() {
# switch back to original vt
if [ -n "${curvt}" ]; then
- if type chvt >/dev/null 2>&1; then
+ if command -v chvt >/dev/null 2>&1; then
chvt "${curvt}"
else
vidcontrol -s "$((curvt + 1))"