commit: 61b5b08648f52e525174b905a5e098bfc0a736b4
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri May 27 08:35:29 2016 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri May 27 08:35:42 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61b5b086
net-misc/wicd: Fix shebang line in openrc init script (bug #573846).
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-misc/wicd/wicd-1.7.4-r1.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/net-misc/wicd/wicd-1.7.4-r1.ebuild
b/net-misc/wicd/wicd-1.7.4-r1.ebuild
index 9b5de55..3b624f0 100644
--- a/net-misc/wicd/wicd-1.7.4-r1.ebuild
+++ b/net-misc/wicd/wicd-1.7.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -83,7 +83,10 @@ src_prepare() {
-i setup.py || die "sed failed"
# Fix misc helper scripts:
sed -e "s:/usr/bin/env python:/usr/bin/env python2:" \
- -i wicd/suspend.py wicd/autoconnect.py wicd/monitor.py
+ -i wicd/suspend.py wicd/autoconnect.py wicd/monitor.py || die
+ # fix shebang for openrc init script (bug #573846)
+ sed 's@/sbin/runscript@/sbin/openrc-run@' \
+ -i in/init=gentoo=wicd.in || die
if use nls; then
# Asturian is faulty with PyBabel
# (https://bugs.launchpad.net/wicd/+bug/928589)