summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-08-24 13:31:15 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-08-24 14:04:20 +0200
commitcb62f8abf7026a7e3f6c38af6d2c0368181648f0 (patch)
tree1d52efb4241419eda981fa9209cbfa0aa72351e8 /games-fps
parentsys-kernel/vanilla-sources: Linux version bumps. Remove old. (diff)
downloadgentoo-cb62f8abf7026a7e3f6c38af6d2c0368181648f0.tar.gz
gentoo-cb62f8abf7026a7e3f6c38af6d2c0368181648f0.tar.bz2
gentoo-cb62f8abf7026a7e3f6c38af6d2c0368181648f0.zip
games-fps/enemy-territory: Fixed shebang of init-script.
Package-Manager: portage-2.3.0 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild b/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild
index 1abebf26d4c8..5fb8ca43b10f 100644
--- a/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild
+++ b/games-fps/enemy-territory/enemy-territory-2.60b-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$
@@ -39,6 +39,7 @@ Ddir=${D}/${dir}
QA_PREBUILT="
${dir:1}/et.x86
+ ${dir:1}/etded.x86
${dir:1}/etmain/cgame.mp.i386.so
${dir:1}/etmain/qagame.mp.i386.so
${dir:1}/etmain/ui.mp.i386.so
@@ -57,6 +58,13 @@ src_unpack() {
unpack ET-${PV}.zip
}
+src_prepare() {
+ if use dedicated ; then
+ sed 's@/sbin/runscript@/sbin/openrc-run@' \
+ -i et-ded.rc || die
+ fi
+}
+
src_install() {
exeinto "${dir}"
doexe openurl.sh