[SCM] Installer for game data files branch, rott, updated. 0f70a9482a3e0d36da0de9d318259d8766a1c3f8

Jon Dowland jmtd at debian.org
Wed Feb 3 15:09:34 UTC 2010


The following commit has been merged in the rott branch:
commit da7be790fbd84aa635e66c269c6a92191086a40a
Author: Jon Dowland <jmtd at debian.org>
Date:   Wed Feb 3 15:02:52 2010 +0000

    adjust the files we extract from ROTTSW13.SHR
    
    only extract the files we need, but add the demo files
    to this list.

diff --git a/supported/rott b/supported/rott
index 957f813..01a743b 100644
--- a/supported/rott
+++ b/supported/rott
@@ -56,17 +56,17 @@ go() {
 	oldpwd=`pwd`
 	cd "$WORKDIR"
 
+    # list of files from within the ZIP-inside-ZIP required for play
+    files="HUNTBGIN.RTC HUNTBGIN.RTL HUNTBGIN.WAD REMOTE1.RTS
+    DEMO1_3.DMO  DEMO2_3.DMO   DEMO3_3.DMO DEMO4_3.DMO VENDOR.DOC"
+	otherfiles="MODEM.PCK  ORDER.FRM     README.EXE   SETUP.EXE
+                ROTT.EXE   ROTTHELP.EXE  ROTTIPX.EXE  ROTTSER.EXE
+                SNDSETUP.EXE"
+
     gdp_unzip "$ZIPFILE" ROTTSW13.SHR
-	gdp_unzip ROTTSW13.SHR
+	gdp_unzip ROTTSW13.SHR $files
 	rm ROTTSW13.SHR
 
-    # list of files from within the ZIP-inside-ZIP required for play
-    files="HUNTBGIN.RTC HUNTBGIN.RTL HUNTBGIN.WAD REMOTE1.RTS"
-	otherfiles="VENDOR.DOC    DEMO1_3.DMO  DEMO2_3.DMO   DEMO3_3.DMO
-                DEMO4_3.DMO   MODEM.PCK    ORDER.FRM     README.EXE
-                ROTT.EXE      ROTTHELP.EXE ROTTIPX.EXE   ROTTSER.EXE
-                SETUP.EXE     SNDSETUP.EXE"
-
     # XXX: we have to re-implement most of slipstream() here, due
     # to the way we use it
     slipstream_permcheck "$OUTFILE"
@@ -83,7 +83,7 @@ go() {
     slipstream_repack "$OUTFILE"
     slipstream_cleanup
 
-	rm $files $otherfiles
+	rm $files
 
 	cd "$oldpwd"
 }

-- 
Installer for game data files



More information about the Pkg-games-commits mailing list