[game-data-packager] 40/293: oops, ioquake3 uses +set fs_basepath instaed of -basepath

Simon McVittie smcv at debian.org
Fri Oct 14 00:11:54 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 0bcb797289cd8b8e8db823cd514d134863f2a3a6
Author: Bruno "Fuddl" Kleinert <fuddl at debian.org>
Date:   Sat Jul 8 12:43:35 2006 +0000

    oops, ioquake3 uses +set fs_basepath instaed of -basepath
---
 debian/scripts/ioquake3        | 12 ++----------
 debian/scripts/ioquake3-server | 10 +---------
 2 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/debian/scripts/ioquake3 b/debian/scripts/ioquake3
index ef96b12..2521e5c 100644
--- a/debian/scripts/ioquake3
+++ b/debian/scripts/ioquake3
@@ -33,17 +33,9 @@ while [ "$1" != "" ]; do {
 	shift
 }; done
 
-# Is ioquake3-data configured?
-for i in `seq -w 0 1 8`; do
-	if [ ! -e /usr/share/games/ioquake3/baseq3/pak$i.pk3 ]; then
-		echo -e ${MISSING_FILES}
-		exit 1;
-	fi
-done
-
 # Ready to rumble!
 if [ ${QUIET} == 1 ]; then
-	/usr/games/ioquake3.bin -basepath /usr/share/games/quake3 +set ttycon 0 $* >/dev/null 2>&1
+	/usr/games/ioquake3.bin +set fs_basepath /usr/share/games/quake3 +set ttycon 0 $* >/dev/null 2>&1
 else
-	/usr/games/ioquake3.bin -basepath /usr/share/games/quake3 $*
+	/usr/games/ioquake3.bin +set fs_basepath /usr/share/games/quake3 $*
 fi
diff --git a/debian/scripts/ioquake3-server b/debian/scripts/ioquake3-server
index 1194087..75987d7 100644
--- a/debian/scripts/ioquake3-server
+++ b/debian/scripts/ioquake3-server
@@ -21,13 +21,5 @@ case "$1" in
 		;;
 esac
 
-# Is quake3-data configured?
-for i in `seq -w 0 1 8`; do
-	if [ ! -e /usr/share/games/ioquake3/baseq3/pak$i.pk3 ]; then
-		echo -e ${MISSING_FILES}
-		exit 1;
-	fi
-done
-
 # Ready to rumble!
-/usr/games/ioq3ded.bin -basepath /usr/share/games/quake3-data $*
+/usr/games/ioq3ded.bin +set fs_basepath /usr/share/games/quake3-data $*

-- 
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