diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2017-10-30 19:15:19 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-09-19 10:15:50 +0200 |
commit | 7afe51171fe063bf3031cc68fc8c7ac914a01de2 (patch) | |
tree | a1c807405ae48dc4d4dc02c579df12a2dfc5694d /scripts | |
parent | bae74c8e9e69b4f4e1a235eef21b9b27fb14aff0 (diff) | |
download | pacman-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.in | 1 |
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.")" \ |