Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/libmakepkg/integrity
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/libmakepkg/integrity')
-rw-r--r--scripts/libmakepkg/integrity/verify_signature.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/libmakepkg/integrity/verify_signature.sh.in b/scripts/libmakepkg/integrity/verify_signature.sh.in
index 2be5c493..2960ebbe 100644
--- a/scripts/libmakepkg/integrity/verify_signature.sh.in
+++ b/scripts/libmakepkg/integrity/verify_signature.sh.in
@@ -134,7 +134,7 @@ verify_file_signature() {
fi
found=0
- for ext in "" gz bz2 xz lrz lzo Z; do
+ for ext in "" gz bz2 xz lrz lzo Z zst; do
if sourcefile="$(get_filepath "${file%.*}${ext:+.$ext}")"; then
found=1
break
@@ -152,6 +152,7 @@ verify_file_signature() {
xz) decompress="xz -c -d" ;;
lrz) decompress="lrzip -q -d" ;;
lzo) decompress="lzop -c -d -q" ;;
+ zst) decompress="zstd -d -q -f" ;;
Z) decompress="uncompress -c -f" ;;
"") decompress="cat" ;;
esac