mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
Revert "x11-apps/xinit: use /lib/gentoo/functions.sh instead of deprecated /etc/init.d/functions.sh"
This reverts commit 2bb6b9e50b.
Gentoo-Bug: https://bugs.gentoo.org/634706
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user