Réglé problème URL de download
[hvlinux.git] / functions / fpkg
index 406175b..dd855d9 100644 (file)
@@ -274,10 +274,12 @@ test_archive_integrity()
         TESTCMD="bzip2 -t"
     elif is_archive_tar_gzip "${EXT}"; then
         TESTCMD="gunzip -t"
+    elif [ "x${EXT}" = "xtar.xz" ]; then
+        TESTCMD="unxz -t"
     elif [ "x${EXT}" = "xzip" ]; then
         TESTCMD="unzip -t"
     else
-        # Can only test gzip, bzip2 and zip archives.
+        # Can only test gzip, bzip2, xz and zip archives.
         return 0
     fi