summaryrefslogtreecommitdiff
path: root/x11-misc
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/bumblebee/bumblebee-3.2.1-r6.ebuild (renamed from x11-misc/bumblebee/bumblebee-3.2.1-r5.ebuild)2
-rw-r--r--x11-misc/bumblebee/files/bumblebee.initd3
2 files changed, 2 insertions, 3 deletions
diff --git a/x11-misc/bumblebee/bumblebee-3.2.1-r5.ebuild b/x11-misc/bumblebee/bumblebee-3.2.1-r6.ebuild
index dd182abc..d5c6f940 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1-r5.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1-r6.ebuild
@@ -74,8 +74,6 @@ src_install() {
if use bbswitch; then
# This is much better than the udev rule below
doinitd "${FILESDIR}/bbswitch-setup"
- sed -i "s:need xdm:need bbswitch-setup xdm:" \
- "${ED}/etc/init.d/bumblebee" || die
fi
# Downstream says: this is just plain wrong, how about
# the situation in where the user has bumblebee installed
diff --git a/x11-misc/bumblebee/files/bumblebee.initd b/x11-misc/bumblebee/files/bumblebee.initd
index 219f7101..0d639842 100644
--- a/x11-misc/bumblebee/files/bumblebee.initd
+++ b/x11-misc/bumblebee/files/bumblebee.initd
@@ -3,7 +3,8 @@
# Distributed under the terms of the GNU General Public License v2
depend() {
- need xdm vgl
+ need bbswitch-setup
+ before xdm
}
PIDFILE="${PIDFILE:-/var/run/bumblebee.pid}"