X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=functions%2Ffpkg;h=dd855d95875cea9360a18a9c68608c8368a55b39;hb=80ded7d3025385c80af4e034a79cf23f5be04267;hp=406175b8563dc9faf5ce34917f9e57b0c06e9494;hpb=bd4976a460cc6af4da09164c6f1d1581480a9771;p=hvlinux.git diff --git a/functions/fpkg b/functions/fpkg index 406175b..dd855d9 100644 --- a/functions/fpkg +++ b/functions/fpkg @@ -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