Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> --- I'm now wondering if it makes sense to import libmakepkg/util/compress.sh here for reuse. Currently repo-add checks the extensions twice and aborts on unknown extensions, but I'm not sure why we need to be stricter here than in makepkg itself. scripts/repo-add.sh.in | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 41a2ea93..76c3ee46 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -300,6 +300,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.")" \ -- 2.14.2