The following commit has been merged in the quake branch:
commit a9063bda64d2d42863860a4b0dfdcfc7037cb719
Author: Jon Dowland <[email protected]>
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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to