Ajout support zip dans test archive
authorgobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Tue, 15 Mar 2011 04:08:12 +0000 (04:08 +0000)
committergobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Tue, 15 Mar 2011 04:08:12 +0000 (04:08 +0000)
functions/fpkg

index 8781366..47f753f 100644 (file)
@@ -274,8 +274,10 @@ test_archive_integrity()
         TESTCMD="bzip2 -t"
     elif is_archive_tar_gzip "${EXT}"; then
         TESTCMD="gunzip -t"
+    elif [ "x${EXT}" = "xzip" ]; then
+        TESTCMD="unzip -t"
     else
-        # Can only test gzip and bzip2 archives
+        # Can only test gzip, bzip2 and zip archives.
         return 0
     fi