r7631 - packages/trunk/quake3/debian/scripts
Jack Coulter
jscinoz-guest at alioth.debian.org
Tue Jul 1 04:39:26 UTC 2008
Author: jscinoz-guest
Date: 2008-07-01 04:39:26 +0000 (Tue, 01 Jul 2008)
New Revision: 7631
Modified:
packages/trunk/quake3/debian/scripts/quake3
packages/trunk/quake3/debian/scripts/quake3-server
Log:
cleanup of scripts
Modified: packages/trunk/quake3/debian/scripts/quake3
===================================================================
--- packages/trunk/quake3/debian/scripts/quake3 2008-07-01 04:39:18 UTC (rev 7630)
+++ packages/trunk/quake3/debian/scripts/quake3 2008-07-01 04:39:26 UTC (rev 7631)
@@ -2,6 +2,7 @@
# Adapted from Tremulous and Nexuiz launch scripts
BINARY=/usr/lib/games/ioquake3/ioquake3
BASE_PATH=/usr/share/games/quake3
+CVARS="+set fs_basepath ${BASE_PATH}"
QUIET=0
EXCUSE="\
Quake 3 client wrapper\n\
@@ -38,9 +39,9 @@
# Ready to rumble!
if [ ${QUIET} -eq 1 ]; then
- exec ${BINARY} +set fs_basepath ${BASE_PATH} +set ttycon 0 $* >/dev/null 2>&1
+ exec ${BINARY} ${CVARS} +set ttycon 0 $* >/dev/null 2>&1
else
- exec ${BINARY} +set fs_basepath ${BASE_PATH} $*
+ exec ${BINARY} ${CVARS} $*
fi
exit $?
Modified: packages/trunk/quake3/debian/scripts/quake3-server
===================================================================
--- packages/trunk/quake3/debian/scripts/quake3-server 2008-07-01 04:39:18 UTC (rev 7630)
+++ packages/trunk/quake3/debian/scripts/quake3-server 2008-07-01 04:39:26 UTC (rev 7631)
@@ -2,6 +2,7 @@
# Adapted from Tremulous and Nexuiz launch scripts
BINARY=/usr/lib/games/ioquake3/ioq3ded
BASE_PATH=/usr/share/games/quake3
+CVARS="+set fs_basepath ${BASE_PATH}"
QUIET=0
EXCUSE="\
Quake 3 server wrapper\n\
@@ -38,9 +39,9 @@
# Ready to rumble!
if [ ${QUIET} -eq 1 ]; then
- exec ${BINARY} +set fs_basepath ${BASE_PATH} +set ttycon 0 $* >/dev/null 2>&1
+ exec ${BINARY} ${CVARS} +set ttycon 0 $* >/dev/null 2>&1
else
- exec ${BINARY} +set fs_basepath ${BASE_PATH} $*
+ exec ${BINARY} ${CVARS} $*
fi
exit $?
More information about the Pkg-games-commits
mailing list