diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-05-27 10:35:29 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-05-27 10:35:42 +0200 |
commit | 61b5b08648f52e525174b905a5e098bfc0a736b4 (patch) | |
tree | b31a955a88e71faa452899c7068281c10fdf588d /net-misc/wicd | |
parent | media-video/kffmpegthumbnailer: Fix build with >=ffmpegthumbnailer-2.1.0 (diff) | |
download | gentoo-61b5b08648f52e525174b905a5e098bfc0a736b4.tar.gz gentoo-61b5b08648f52e525174b905a5e098bfc0a736b4.tar.bz2 gentoo-61b5b08648f52e525174b905a5e098bfc0a736b4.zip |
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@gentoo.org>
Diffstat (limited to 'net-misc/wicd')
-rw-r--r-- | net-misc/wicd/wicd-1.7.4-r1.ebuild | 7 |
1 files 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 9b5de55b7673..3b624f0d644c 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) |