From 866c8be2da15cd65430c3b4a1ffb73cf6b63c74c Mon Sep 17 00:00:00 2001 From: merakor Date: Wed, 18 Mar 2020 12:07:54 +0000 Subject: fallback to gzip if the compression method is wrong FossilOrigin-Name: c8b98aafa23045d325fa955c40f1eebdf2ea61fb21e353fbbc5fac44b46f760b --- kiss | 1 + 1 file changed, 1 insertion(+) diff --git a/kiss b/kiss index 6e398af..d2144eb 100755 --- a/kiss +++ b/kiss @@ -518,6 +518,7 @@ pkg_tar() { xz) xz -zT 0 ;; gz) gzip -6 ;; zst) zstd -3 ;; + *) gzip -6 ;; # Fallback to gzip esac \ > "$bin_dir/$1#$version-$release.tar.${KISS_COMPRESS:=gz}" -- cgit v1.2.3