index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Michael Straube <michael.straubej@gmail.com> | 2020-10-21 10:05:43 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-11-26 15:45:29 +1000 |
commit | 94ac3330dd3a42958ad5d9606ec254bc112936bf (patch) | |
tree | 537f262b77e73262466204dac0910a967e9eac99 /scripts | |
parent | 4d8f58d3b940f778b27c59e53ea9f3fab20a07ba (diff) |
-rw-r--r-- | scripts/libmakepkg/util/compress.sh.in | 3 |
diff --git a/scripts/libmakepkg/util/compress.sh.in b/scripts/libmakepkg/util/compress.sh.in index d35a01fa..ab3b1e6e 100644 --- a/scripts/libmakepkg/util/compress.sh.in +++ b/scripts/libmakepkg/util/compress.sh.in @@ -65,6 +65,9 @@ get_compression_command() { esac ext=${ext#*.tar.} + # empty the variable for plain tar archives so we fallback to cat + ext=${ext#*.tar} + if [[ -n $ext ]]; then extarray="COMPRESS${ext^^}[@]" resolvecmd=("${!extarray}") |