summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2017-10-19 09:05:31 -0700
committerMatt Turner <mattst88@gentoo.org>2017-10-19 09:05:31 -0700
commitdd42e7509a42d4bd8f139a7910eb519d939924f4 (patch)
tree7264f8714016cc5044450933ae12fc3507e3797d /x11-apps
parentwww-client/chromium: depend on >=dev-libs/libxml2-2.9.4-r3 (diff)
downloadgentoo-dd42e7509a42d4bd8f139a7910eb519d939924f4.tar.gz
gentoo-dd42e7509a42d4bd8f139a7910eb519d939924f4.tar.bz2
gentoo-dd42e7509a42d4bd8f139a7910eb519d939924f4.zip
Revert "x11-apps/xinit: use /lib/gentoo/functions.sh instead of deprecated /etc/init.d/functions.sh"
This reverts commit 2bb6b9e50bdb8efc9a4627e60a4e63d38e8d6255. Gentoo-Bug: https://bugs.gentoo.org/634706
Diffstat (limited to 'x11-apps')
-rw-r--r--x11-apps/xinit/files/startDM.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/x11-apps/xinit/files/startDM.sh b/x11-apps/xinit/files/startDM.sh
index 21fb452df1e3..66cceb3a68f5 100644
--- a/x11-apps/xinit/files/startDM.sh
+++ b/x11-apps/xinit/files/startDM.sh
@@ -1,17 +1,12 @@
#!/bin/sh
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2
# We need to source /etc/profile for stuff like $LANG to work
# bug #10190.
. /etc/profile
-. /lib/gentoo/functions.sh
-
-# Bail out early if on a non-OpenRC system:
-if [ ! -d /run/openrc ]; then
- eerror "$0 should only be used on OpenRC systems"
-fi
+. /etc/init.d/functions.sh
# baselayout-1 compat
if ! type get_options >/dev/null 2>/dev/null ; then