[SCM] Installer for game data files branch, quake, updated. 96ca7132050fb5efd8d92a7f7c5a374a234f002d

Jon Dowland jmtd at debian.org
Tue Apr 5 21:05:53 UTC 2011


The following commit has been merged in the quake branch:
commit aa09fd7e3a7476d505ef1e605bd1e8c521ffd4fe
Author: Jon Dowland <jmtd at debian.org>
Date:   Tue Apr 5 21:27:47 2011 +0100

    quake: more variable use

diff --git a/supported/quake b/supported/quake
index 18590ee..7655b88 100644
--- a/supported/quake
+++ b/supported/quake
@@ -61,15 +61,17 @@ go() {
 }
 
 cdrom_method() {
+    bit1="$mountpoint/q101_int.1"
+    bit2="$mountpoint/q101_int.2"
     bit1sum=752f49131bb3ba832346e873c1bcfdc6
     bit2sum=9ed67b39020575771e29645d977c9216
     
-    verify_file "$mountpoint/q101_int.1"
-    verify_file "$mountpoint/q101_int.2"
-    verify_md5sum "$mountpoint/q101_int.1" "$bit1sum"
-    verify_md5sum "$mountpoint/q101_int.2" "$bit2sum"
+    verify_file "$bit1"
+    verify_file "$bit2"
+    verify_md5sum "$bit1" "$bit1sum"
+    verify_md5sum "$bit2" "$bit2sum"
     
-    cat "$mountpoint/q101_int.1" "$mountpoint/q101_int.2" > "$WORKDIR/unpackme.exe"
+    cat "$bit1" "$bit2" > "$WORKDIR/unpackme.exe"
     (
       cd "$WORKDIR"
       lha xq unpackme.exe

-- 
Installer for game data files



More information about the Pkg-games-commits mailing list