Signed-off-by: Eli Schwartz <eschwa...@archlinux.org>
---

Unlike makepkg, this is implemented as a bsdtar option which means we
*need* libarchive support just to create a database, never mind whether
pacman can read it.

 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 68edbf4b..ccc0c89b 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.1

Reply via email to