r6112 - packages/trunk/game-package/supported

Jon Dowland jmtd-guest at alioth.debian.org
Sun Mar 16 19:35:48 UTC 2008


Author: jmtd-guest
Date: 2008-03-16 19:35:48 +0000 (Sun, 16 Mar 2008)
New Revision: 6112

Modified:
   packages/trunk/game-package/supported/doom2
Log:
fix path issues in doom2

Modified: packages/trunk/game-package/supported/doom2
===================================================================
--- packages/trunk/game-package/supported/doom2	2008-03-16 19:32:50 UTC (rev 6111)
+++ packages/trunk/game-package/supported/doom2	2008-03-16 19:35:48 UTC (rev 6112)
@@ -3,7 +3,8 @@
 SHORTNAME=doom2
 LONGNAME="Doom 2"
 
-DEBBASE="doom2-wad_7_all.deb"
+VERSION=` dpkg-query --showformat='${Version}\n' --show game-package `
+DEBBASE="doom2-wad_${VERSION}_all.deb"
 
 doom2_usage() {
 	echo "doom2 game arguments:"  >&2
@@ -48,10 +49,10 @@
 
 go() {
 	verify_args $*
-	WADFILE="$1"
+	WADFILE=`unravel "$1"`
 	MD5SUM=`checksum "$WADFILE"`
 	check_for_v19
-
+	debug "WADFILE=$WADFILE"
 	DEST=`echo $DATADIR | sed 's,^/,,'`
 
 	if [ "" = "$OUTDIR" ]; then




More information about the Pkg-games-commits mailing list