From: gobo72 Date: Tue, 15 Mar 2011 04:08:12 +0000 (+0000) Subject: Ajout support zip dans test archive X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=63e6ac8becbbc36044d319adba2f62746012720b;p=hvlinux.git Ajout support zip dans test archive --- diff --git a/functions/fpkg b/functions/fpkg index 8781366..47f753f 100644 --- a/functions/fpkg +++ b/functions/fpkg @@ -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