diff options
author | merakor <cem@ckyln.com> | 2020-03-18 12:07:54 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-03-18 12:07:54 +0000 |
commit | 866c8be2da15cd65430c3b4a1ffb73cf6b63c74c (patch) | |
tree | 33c93757c5e46a54e14cc49499f7591907c5bf6b | |
parent | ff53e3d68b65305663b04edc07265a9831f0a28d (diff) | |
download | cpt-866c8be2da15cd65430c3b4a1ffb73cf6b63c74c.tar.gz |
fallback to gzip if the compression method is wrong
FossilOrigin-Name: c8b98aafa23045d325fa955c40f1eebdf2ea61fb21e353fbbc5fac44b46f760b
-rwxr-xr-x | kiss | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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}" |