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