r857 - scripts/trunk

Bruno Fuddl-guestquot; Fuddl" Kleinert fuddl-guest at costa.debian.org
Sat Jun 17 21:27:04 UTC 2006


Author: fuddl-guest
Date: 2006-06-17 21:27:03 +0000 (Sat, 17 Jun 2006)
New Revision: 857

Modified:
   scripts/trunk/nexuiz-prepare.sh
Log:
nexuiz prepare scripts fetches lates upstream hotfix


Modified: scripts/trunk/nexuiz-prepare.sh
===================================================================
--- scripts/trunk/nexuiz-prepare.sh	2006-06-17 21:14:11 UTC (rev 856)
+++ scripts/trunk/nexuiz-prepare.sh	2006-06-17 21:27:03 UTC (rev 857)
@@ -19,9 +19,15 @@
 	exit 3
 fi
 
+# concerns dl'ing hotfix
+if [ ! -f /usr/bin/wget ]; then
+	echo "Please aptitude install wget"
+	exit 4
+fi
+
 if [ ! -f $1/$ARCHIVE ]; then
 	echo "Couldn't find $ARCHIVE in path $1"
-	exit 4
+	exit 127
 fi
 
 echo "Using $1/$ARCHIVE as source archive"
@@ -43,6 +49,10 @@
 echo "Creating data tarball..."
 cd ./nexuiz-tmp/Nexuiz && \
 	mkdir -p nexuiz-data-$VERSION && mv data nexuiz-data-$VERSION && \
+	# get upstream hotfix
+	cd nexuiz-data-$VERSION/data && wget http://kadaverjack.planetnexuiz.de/downloads/data20060616_hotfix.pk3 && \
+	cd ../.. && \
+	# end hotfix
 	tar --exclude .cvsignore --exclude CVS --exclude .#* -czf ../../nexuiz-data_$VERSION.orig.tar.gz nexuiz-data-$VERSION
 
 if [ "$?" != "0" ]; then




More information about the Pkg-games-commits mailing list