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

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


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

    quake: use verify_file

diff --git a/supported/quake b/supported/quake
index 4e3b078..18590ee 100644
--- a/supported/quake
+++ b/supported/quake
@@ -64,13 +64,8 @@ cdrom_method() {
     bit1sum=752f49131bb3ba832346e873c1bcfdc6
     bit2sum=9ed67b39020575771e29645d977c9216
     
-    if [ ! -f "$mountpoint/q101_int.1" ]; then
-    	die "CD-ROM missing required file q101_int.1"
-    fi
-    if [ ! -f "$mountpoint/q101_int.2" ]; then
-    	die "CD-ROM missing required file q101_int.2"
-    fi
-    
+    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"
     

-- 
Installer for game data files



More information about the Pkg-games-commits mailing list