From 7fa36c93443e6e9a07fcf2a4ab01dac62195d26c Mon Sep 17 00:00:00 2001 From: merakor Date: Fri, 12 Mar 2021 14:22:14 +0000 Subject: cpt-export: add lzip support FossilOrigin-Name: 4126aaa1d788431d3742cf1839703e54a23fa73a5eb8217815b9d1daec332c55 --- contrib/cpt-export | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/cpt-export b/contrib/cpt-export index 0e7495b..300c7c4 100755 --- a/contrib/cpt-export +++ b/contrib/cpt-export @@ -32,7 +32,7 @@ read -r ver rel 2>/dev/null < \ ### environment variable. # Fallback to gzip if there is a typo -case "$CPT_COMPRESS" in bz2|gz|xz|zst) ;; *) CPT_COMPRESS=gz; esac +case "$CPT_COMPRESS" in bz2|gz|xz|zst|lz) ;; *) CPT_COMPRESS=gz; esac # Reset the argument list. pkg=$1 @@ -52,6 +52,7 @@ case "$CPT_COMPRESS" in gz) gzip -6 ;; xz) xz -zT 0 ;; zst) zstd -3 ;; + lz) lzip -6 ;; esac > "$tarball" printf 'tarball created in %s\n' "$tarball" -- cgit v1.2.3