index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Morten Linderud <morten@linderud.pw> | 2021-02-21 22:36:31 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-02-24 22:51:14 +1000 |
commit | 7587153a447bd537c8f138be9ca0a3886a5f1e57 (patch) | |
tree | 14b5d510cedf32f01610b035f0e5e91404a798e1 /scripts/libmakepkg/source | |
parent | 17d3da477770313a16a4f29ecae8476613ad3277 (diff) |
-rw-r--r-- | scripts/libmakepkg/source/file.sh.in | 5 |
diff --git a/scripts/libmakepkg/source/file.sh.in b/scripts/libmakepkg/source/file.sh.in index b29aeb04..cbaab315 100644 --- a/scripts/libmakepkg/source/file.sh.in +++ b/scripts/libmakepkg/source/file.sh.in @@ -118,6 +118,11 @@ extract_file() { xz) cmd="xz" ;; *) return;; esac ;; + *application/zstd*) + case "$ext" in + zst) cmd="zstd" ;; + *) return;; + esac ;; *) # See if bsdtar can recognize the file if bsdtar -tf "$file" -q '*' &>/dev/null; then |