From 63e6ac8becbbc36044d319adba2f62746012720b Mon Sep 17 00:00:00 2001 From: gobo72 Date: Tue, 15 Mar 2011 04:08:12 +0000 Subject: [PATCH] Ajout support zip dans test archive --- functions/fpkg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.20.1