[quake] 01/01: quake3: fix installed-location detection by looking for pak0.pk3, not pak0.pak

Simon McVittie smcv at debian.org
Wed Feb 4 11:25:27 UTC 2015


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

smcv pushed a commit to branch master
in repository quake.

commit 57f3956d5a9d9f16c1e7f7f7c626e3d641b34c36
Author: Simon McVittie <smcv at debian.org>
Date:   Wed Feb 4 11:17:41 2015 +0000

    quake3: fix installed-location detection by looking for pak0.pk3, not pak0.pak
---
 debian/changelog | 7 +++++++
 quake3.in        | 8 ++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 742959e..47722a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+quake (11) experimental; urgency=low
+
+  * quake3: fix installed-location detection by looking for pak0.pk3,
+    not pak0.pak
+
+ -- Simon McVittie <smcv at debian.org>  Wed, 04 Feb 2015 11:17:00 +0000
+
 quake (10) experimental; urgency=low
 
   * quake2: execute debian_server.cfg again, reverting a change from v9.
diff --git a/quake3.in b/quake3.in
index 2c1d540..a645e2e 100644
--- a/quake3.in
+++ b/quake3.in
@@ -52,13 +52,13 @@ done
 
 if [ -n "$DEMO" ]; then
   BASEPATH="/usr/lib/quake3/demo"
-elif [ -e "/usr/lib/quake3/ta/missionpack/pak0.pak" ]; then
+elif [ -e "/usr/lib/quake3/ta/missionpack/pak0.pk3" ]; then
   BASEPATH="/usr/lib/quake3/ta"
-elif [ -e "/usr/lib/quake3/base/baseq3/pak0.pak" ]; then
+elif [ -e "/usr/lib/quake3/base/baseq3/pak0.pk3" ]; then
   BASEPATH="/usr/lib/quake3/base"
-elif [ -e "$BASEPATH/baseq3/pak0.pak" ]; then
+elif [ -e "$BASEPATH/baseq3/pak0.pk3" ]; then
   :
-elif [ -e "/usr/lib/quake3/demo/demoq3/pak0.pak" ]; then
+elif [ -e "/usr/lib/quake3/demo/demoq3/pak0.pk3" ]; then
   BASEPATH="/usr/lib/quake3/demo"
   DEMO=1
 fi

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



More information about the Pkg-games-commits mailing list