r7522 - packages/trunk/urbanterror/debian/scripts

Jack Coulter jscinoz-guest at alioth.debian.org
Fri Jun 27 13:22:06 UTC 2008


Author: jscinoz-guest
Date: 2008-06-27 13:22:06 +0000 (Fri, 27 Jun 2008)
New Revision: 7522

Modified:
   packages/trunk/urbanterror/debian/scripts/urbanterror
   packages/trunk/urbanterror/debian/scripts/urbanterror-server
Log:
Explicitly specify fs_game

Modified: packages/trunk/urbanterror/debian/scripts/urbanterror
===================================================================
--- packages/trunk/urbanterror/debian/scripts/urbanterror	2008-06-27 13:22:00 UTC (rev 7521)
+++ packages/trunk/urbanterror/debian/scripts/urbanterror	2008-06-27 13:22:06 UTC (rev 7522)
@@ -2,6 +2,7 @@
 # Adapted from Tremulous and Nexuiz launch scripts
 BINARY=/usr/lib/games/urbanterror/ioUrbanTerror
 BASE_PATH=/usr/share/games/urbanterror
+GAME=q3ut4
 QUIET=0
 EXCUSE="\
 Urban Terror client wrapper\n\
@@ -34,9 +35,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} +set fs_basepath ${BASE_PATH} +set fs_game ${GAME} +set ttycon 0 $* >/dev/null 2>&1
 else
-	exec ${BINARY} +set fs_basepath ${BASE_PATH} $*
+	exec ${BINARY} +set fs_basepath ${BASE_PATH} +set fs_game ${GAME} $*
 fi
 
 exit $?

Modified: packages/trunk/urbanterror/debian/scripts/urbanterror-server
===================================================================
--- packages/trunk/urbanterror/debian/scripts/urbanterror-server	2008-06-27 13:22:00 UTC (rev 7521)
+++ packages/trunk/urbanterror/debian/scripts/urbanterror-server	2008-06-27 13:22:06 UTC (rev 7522)
@@ -2,6 +2,7 @@
 # Adapted from Tremulous and Nexuiz launch scripts
 BINARY=/usr/lib/games/urbanterror/ioUrTded
 BASE_PATH=/usr/share/games/urbanterror
+GAME=q3ut4
 QUIET=0
 EXCUSE="\
 Urban Terror server wrapper\n\
@@ -34,9 +35,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} +set fs_basepath ${BASE_PATH} +set fs_game ${GAME} +set ttycon 0 $* >/dev/null 2>&1
 else
-	exec ${BINARY} +set fs_basepath ${BASE_PATH} $*
+	exec ${BINARY} +set fs_basepath ${BASE_PATH} +set fs_game ${GAME} $*
 fi
 
 exit $?




More information about the Pkg-games-commits mailing list