r7520 - packages/trunk/quake3/debian/scripts

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


Author: jscinoz-guest
Date: 2008-06-27 13:21:55 +0000 (Fri, 27 Jun 2008)
New Revision: 7520

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


Modified: packages/trunk/quake3/debian/scripts/quake3
===================================================================
--- packages/trunk/quake3/debian/scripts/quake3	2008-06-26 15:56:07 UTC (rev 7519)
+++ packages/trunk/quake3/debian/scripts/quake3	2008-06-27 13:21:55 UTC (rev 7520)
@@ -2,6 +2,7 @@
 # Adapted from Tremulous and Nexuiz launch scripts
 BINARY=/usr/lib/games/quake3/ioquake3
 BASE_PATH=/usr/share/games/quake3
+GAME=baseq3
 QUIET=0
 EXCUSE="\
 Quake 3 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/quake3/debian/scripts/quake3-server
===================================================================
--- packages/trunk/quake3/debian/scripts/quake3-server	2008-06-26 15:56:07 UTC (rev 7519)
+++ packages/trunk/quake3/debian/scripts/quake3-server	2008-06-27 13:21:55 UTC (rev 7520)
@@ -2,6 +2,7 @@
 # Adapted from Tremulous and Nexuiz launch scripts
 BINARY=/usr/lib/games/quake3/ioq3ded
 BASE_PATH=/usr/share/games/quake3
+GAME=baseq3
 QUIET=0
 EXCUSE="\
 Quake 3 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