diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-09-15 19:44:31 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-09-15 19:44:31 +0000 |
commit | 23eddbf98448dbfffd90a43cb0869e3d2de14a9d (patch) | |
tree | 2ac6dc972534846b4b976911b727c38acff07c92 /games-server | |
parent | Change hard-coded /opt to GAMES_PREFIX_OPT. (diff) | |
download | gentoo-2-23eddbf98448dbfffd90a43cb0869e3d2de14a9d.tar.gz gentoo-2-23eddbf98448dbfffd90a43cb0869e3d2de14a9d.tar.bz2 gentoo-2-23eddbf98448dbfffd90a43cb0869e3d2de14a9d.zip |
Change hard-coded /opt to GAMES_PREFIX_OPT.
(Portage version: 2.1.1)
Diffstat (limited to 'games-server')
-rw-r--r-- | games-server/ut2004-ded/ChangeLog | 6 | ||||
-rw-r--r-- | games-server/ut2004-ded/files/ut2004-ded.rc | 2 | ||||
-rw-r--r-- | games-server/ut2004-ded/ut2004-ded-3369.ebuild | 10 |
3 files changed, 12 insertions, 6 deletions
diff --git a/games-server/ut2004-ded/ChangeLog b/games-server/ut2004-ded/ChangeLog index a08bf0b137b5..df10dba0f40d 100644 --- a/games-server/ut2004-ded/ChangeLog +++ b/games-server/ut2004-ded/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-server/ut2004-ded # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-server/ut2004-ded/ChangeLog,v 1.14 2006/06/14 18:43:28 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-server/ut2004-ded/ChangeLog,v 1.15 2006/09/15 19:44:31 wolf31o2 Exp $ + + 15 Sep 2006; Chris Gianelloni <wolf31o2@gentoo.org> files/ut2004-ded.rc, + ut2004-ded-3369.ebuild: + Change hard-coded /opt to GAMES_PREFIX_OPT. 14 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> files/ut2004-ded.rc: Rewrote the init script, since it was in need of it. Also fixed bug #136727. diff --git a/games-server/ut2004-ded/files/ut2004-ded.rc b/games-server/ut2004-ded/files/ut2004-ded.rc index f6d4af745acc..92c7ff9bac63 100644 --- a/games-server/ut2004-ded/files/ut2004-ded.rc +++ b/games-server/ut2004-ded/files/ut2004-ded.rc @@ -6,7 +6,7 @@ # script starts up a Onslaught Server. # Goto http://www.unrealadmin.org to learn how to edit your options -UCCDIR="/opt/ut2004-ded/System" +UCCDIR="GAMES_PREFIX_OPT/ut2004-ded/System" OPTIONS="server ONS-Torlan?game=Onslaught.ONSOnslaughtGame ini=Default.ini log=server.log -nohomedir" ### Do not edit below here or the world will explode ### diff --git a/games-server/ut2004-ded/ut2004-ded-3369.ebuild b/games-server/ut2004-ded/ut2004-ded-3369.ebuild index 40daf1c69607..c9fffa4480b9 100644 --- a/games-server/ut2004-ded/ut2004-ded-3369.ebuild +++ b/games-server/ut2004-ded/ut2004-ded-3369.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-server/ut2004-ded/ut2004-ded-3369.ebuild,v 1.5 2006/03/31 21:49:41 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-server/ut2004-ded/ut2004-ded-3369.ebuild,v 1.6 2006/09/15 19:44:31 wolf31o2 Exp $ inherit games @@ -52,10 +52,12 @@ src_install() { rm -f ${Ddir}/System/*.dll || die "removing windows dlls" rm -f ${Ddir}/System/*.exe || die "removing windows exes" - prepgamesdirs - exeinto /etc/init.d newexe ${FILESDIR}/ut2004-ded.rc ut2004-ded + dosed ":GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" \ + /etc/init.d/ut2004-ded || die "sed" + + prepgamesdirs } pkg_postinst() { @@ -65,7 +67,7 @@ pkg_postinst() { ewarn "You should take the time to edit the default server INI." ewarn "Consult the INI Reference at http://unrealadmin.org/" ewarn "for assistance in adjusting the following file:" - ewarn " /opt/ut2004-ded/System/Default.ini" + ewarn " ${GAMES_PREFIX_OPT}/ut2004-ded/System/Default.ini" echo ewarn "NOTE: To have your server authenticate properly to the" ewarn " central server, you MUST visit the following site" |