summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2017-10-30 19:15:19 +0100
committerAllan McRae <allan@archlinux.org>2018-09-19 10:15:50 +0200
commit7afe51171fe063bf3031cc68fc8c7ac914a01de2 (patch)
treea1c807405ae48dc4d4dc02c579df12a2dfc5694d /scripts
parentbae74c8e9e69b4f4e1a235eef21b9b27fb14aff0 (diff)
downloadpacman-7afe51171fe063bf3031cc68fc8c7ac914a01de2.tar.gz
pacman-7afe51171fe063bf3031cc68fc8c7ac914a01de2.tar.xz
repo-add: add support for the zst format
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/repo-add.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in
index 69f6e22c..506d524b 100644
--- a/scripts/repo-add.sh.in
+++ b/scripts/repo-add.sh.in
@@ -301,6 +301,7 @@ verify_repo_extension() {
*.db.tar.gz) TAR_OPT="z" ;;
*.db.tar.bz2) TAR_OPT="j" ;;
*.db.tar.xz) TAR_OPT="J" ;;
+ *.db.tar.zst) TAR_OPT="--zstd" ;;
*.db.tar.Z) TAR_OPT="Z" ;;
*.db.tar) TAR_OPT="" ;;
*) error "$(gettext "'%s' does not have a valid database archive extension.")" \