summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 17:22:05 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 17:22:05 +0000
commit22d6bcae7de4a09a5312dc468141053456a62eeb (patch)
tree7dddacfeeb440b3aa4acce1b242f95b968a7db11 /games-server
parentChange all instances of [ to [[. (diff)
downloadgentoo-2-22d6bcae7de4a09a5312dc468141053456a62eeb.tar.gz
gentoo-2-22d6bcae7de4a09a5312dc468141053456a62eeb.tar.bz2
gentoo-2-22d6bcae7de4a09a5312dc468141053456a62eeb.zip
Changed all instances of [ to [[ and renamed init.d.rc to pvpgn.rc.
(Portage version: 2.1.2.1)
Diffstat (limited to 'games-server')
-rw-r--r--games-server/pvpgn/ChangeLog6
-rw-r--r--games-server/pvpgn/files/pvpgn.rc (renamed from games-server/pvpgn/files/init.d.rc)6
-rw-r--r--games-server/pvpgn/pvpgn-1.6.6.ebuild8
-rw-r--r--games-server/pvpgn/pvpgn-1.8.0.ebuild6
4 files changed, 15 insertions, 11 deletions
diff --git a/games-server/pvpgn/ChangeLog b/games-server/pvpgn/ChangeLog
index 9e6f82ebfc72..1fc5b2ab3fbd 100644
--- a/games-server/pvpgn/ChangeLog
+++ b/games-server/pvpgn/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-server/pvpgn
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/ChangeLog,v 1.10 2007/02/07 14:10:49 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/ChangeLog,v 1.11 2007/03/07 17:22:05 wolf31o2 Exp $
+
+ 07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> -files/init.d.rc,
+ +files/pvpgn.rc, pvpgn-1.6.6.ebuild, pvpgn-1.8.0.ebuild:
+ Changed all instances of [ to [[ and renamed init.d.rc to pvpgn.rc.
07 Feb 2007; Tristan Heaven <nyhm@gentoo.org> pvpgn-1.8.0.ebuild:
Use mirror://berlios
diff --git a/games-server/pvpgn/files/init.d.rc b/games-server/pvpgn/files/pvpgn.rc
index 52bc0b1a90be..087f9aebda26 100644
--- a/games-server/pvpgn/files/init.d.rc
+++ b/games-server/pvpgn/files/pvpgn.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/files/init.d.rc,v 1.1 2004/09/01 04:39:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/files/pvpgn.rc,v 1.1 2007/03/07 17:22:05 wolf31o2 Exp $
opts="reload shutdown"
@@ -10,7 +10,7 @@ depend() {
}
checkconfig() {
- if [ ! -f /etc/games/pvpgn/NAME.conf ]; then
+ if [[ ! -f /etc/games/pvpgn/NAME.conf ]] ; then
eerror "You must have a NAME.conf configuration file to start NAME"
return 1
fi
diff --git a/games-server/pvpgn/pvpgn-1.6.6.ebuild b/games-server/pvpgn/pvpgn-1.6.6.ebuild
index 7dde419b2568..18111c1ab6b4 100644
--- a/games-server/pvpgn/pvpgn-1.6.6.ebuild
+++ b/games-server/pvpgn/pvpgn-1.6.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/pvpgn-1.6.6.ebuild,v 1.4 2006/11/23 19:40:00 vivo Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/pvpgn-1.6.6.ebuild,v 1.5 2007/03/07 17:22:05 wolf31o2 Exp $
inherit eutils games
@@ -51,13 +51,13 @@ src_install() {
# GAMES_USER_DED here instead of GAMES_USER (bug #65423)
for f in bnetd d2cs d2dbs ; do
- newinitd "${FILESDIR}/init.d.rc" ${f}
+ newinitd "${FILESDIR}/${PN}.rc" ${f}
sed -i \
-e "s:NAME:${f}:g" \
-e "s:GAMES_BINDIR:${GAMES_BINDIR}:g" \
-e "s:GAMES_USER:${GAMES_USER_DED}:g" \
-e "s:GAMES_GROUP:${GAMES_GROUP}:g" \
- "${D}/etc/init.d/${f}" \
+ "${D}/etc/${PN}/${f}" \
|| die "sed failed"
done
diff --git a/games-server/pvpgn/pvpgn-1.8.0.ebuild b/games-server/pvpgn/pvpgn-1.8.0.ebuild
index ab9e7bc0d5b7..f0b7c5cbca38 100644
--- a/games-server/pvpgn/pvpgn-1.8.0.ebuild
+++ b/games-server/pvpgn/pvpgn-1.8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/pvpgn-1.8.0.ebuild,v 1.3 2007/02/07 14:10:49 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/pvpgn-1.8.0.ebuild,v 1.4 2007/03/07 17:22:05 wolf31o2 Exp $
inherit eutils games
@@ -53,13 +53,13 @@ src_install() {
# GAMES_USER_DED here instead of GAMES_USER (bug #65423)
for f in bnetd d2cs d2dbs ; do
- newinitd "${FILESDIR}/init.d.rc" ${f}
+ newinitd "${FILESDIR}/${PN}.rc" ${f}
sed -i \
-e "s:NAME:${f}:g" \
-e "s:GAMES_BINDIR:${GAMES_BINDIR}:g" \
-e "s:GAMES_USER:${GAMES_USER_DED}:g" \
-e "s:GAMES_GROUP:${GAMES_GROUP}:g" \
- "${D}/etc/init.d/${f}" \
+ "${D}/etc/${PN}/${f}" \
|| die "sed failed"
done