r7630 - packages/trunk/urbanterror/debian/scripts
Jack Coulter
jscinoz-guest at alioth.debian.org
Tue Jul 1 04:39:18 UTC 2008
Author: jscinoz-guest
Date: 2008-07-01 04:39:18 +0000 (Tue, 01 Jul 2008)
New Revision: 7630
Modified:
packages/trunk/urbanterror/debian/scripts/urbanterror
packages/trunk/urbanterror/debian/scripts/urbanterror-server
Log:
cleanup of scripts
Modified: packages/trunk/urbanterror/debian/scripts/urbanterror
===================================================================
--- packages/trunk/urbanterror/debian/scripts/urbanterror 2008-06-30 20:37:24 UTC (rev 7629)
+++ packages/trunk/urbanterror/debian/scripts/urbanterror 2008-07-01 04:39:18 UTC (rev 7630)
@@ -3,6 +3,7 @@
BINARY=/usr/lib/games/ioquake3/ioquake3
BASE_PATH=/usr/share/games/urbanterror
GAME=q3ut4
+CVARS="+set com_standalone 1 +set fs_basepath ${BASE_PATH} +set fs_game ${GAME}"
QUIET=0
EXCUSE="\
Urban Terror client wrapper\n\
@@ -35,9 +36,9 @@
# Ready to rumble!
if [ ${QUIET} -eq 1 ]; then
- exec ${BINARY} +set com_standalone 1 +set fs_basepath ${BASE_PATH} +set fs_game ${GAME} +set ttycon 0 $* >/dev/null 2>&1
+ exec ${BINARY} ${CVARS} +set ttycon 0 $* >/dev/null 2>&1
else
- exec ${BINARY} +set com_standalone 1 +set fs_basepath ${BASE_PATH} +set fs_game ${GAME} $*
+ exec ${BINARY} ${CVARS} $*
fi
exit $?
Modified: packages/trunk/urbanterror/debian/scripts/urbanterror-server
===================================================================
--- packages/trunk/urbanterror/debian/scripts/urbanterror-server 2008-06-30 20:37:24 UTC (rev 7629)
+++ packages/trunk/urbanterror/debian/scripts/urbanterror-server 2008-07-01 04:39:18 UTC (rev 7630)
@@ -3,6 +3,7 @@
BINARY=/usr/lib/games/ioquake3/ioq3ded
BASE_PATH=/usr/share/games/urbanterror
GAME=q3ut4
+CVARS="+set com_standalone 1 +set fs_basepath ${BASE_PATH} +set fs_game ${GAME}"
QUIET=0
EXCUSE="\
Urban Terror server wrapper\n\
@@ -35,9 +36,9 @@
# Ready to rumble!
if [ ${QUIET} -eq 1 ]; then
- exec ${BINARY} +set com_standalone 1 +set fs_basepath ${BASE_PATH} +set fs_game ${GAME} +set ttycon 0 $* >/dev/null 2>&1
+ exec ${BINARY} ${CVARS} +set ttycon 0 $* >/dev/null 2>&1
else
- exec ${BINARY} +set com_standalone 1 +set fs_basepath ${BASE_PATH} +set fs_game ${GAME} $*
+ exec ${BINARY} ${CVARS} $*
fi
exit $?
More information about the Pkg-games-commits
mailing list