[game-data-packager] 55/293: Explicitly specify fs_game

Simon McVittie smcv at debian.org
Fri Oct 14 00:11:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch quake
in repository game-data-packager.

commit 25774e98e8b4520404a266639774fa1ddc3a912e
Author: Jack Coulter <jscinoz at gmail.com>
Date:   Fri Jun 27 13:21:55 2008 +0000

    Explicitly specify fs_game
---
 debian/scripts/quake3        | 5 +++--
 debian/scripts/quake3-server | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/scripts/quake3 b/debian/scripts/quake3
index 1e895c2..3d6ea5f 100644
--- a/debian/scripts/quake3
+++ b/debian/scripts/quake3
@@ -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 @@ while [ "$1" != "" ]; do {
 # 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 $?
diff --git a/debian/scripts/quake3-server b/debian/scripts/quake3-server
index 2796c0e..5fb4a35 100644
--- a/debian/scripts/quake3-server
+++ b/debian/scripts/quake3-server
@@ -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 @@ while [ "$1" != "" ]; do {
 # 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 $?

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list