summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Karbowski <slashbeast@gentoo.org>2022-10-10 19:31:10 +0200
committerPiotr Karbowski <slashbeast@gentoo.org>2022-10-10 19:31:10 +0200
commitaf75640e7c22196db0de32e016a737119e92c336 (patch)
treec782d8c85df535e24d24bb4287a9edf2962a2006 /gui-libs/display-manager-init
parentapp-crypt/certbot-nginx: stabilize 1.30.0 for amd64, x86 (diff)
downloadgentoo-af75640e7c22196db0de32e016a737119e92c336.tar.gz
gentoo-af75640e7c22196db0de32e016a737119e92c336.tar.bz2
gentoo-af75640e7c22196db0de32e016a737119e92c336.zip
gui-libs/display-manager-init: 1.1.1 version bump
Closes: https://bugs.gentoo.org/876412 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'gui-libs/display-manager-init')
-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))"