Ajout support zip dans test archive
[hvlinux.git] / 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