From c301d6aa250620fda6b268e17e1b0dd41027e90b Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 13 May 2009 08:21:11 +0200 Subject: Add support for the xz archive format This simple patch adds support for the xz archive format to makepkg and repo- add. Xz can be used as source, package and package db file type. Signed-off-by: Pierre Schmitz [Dan: fixed a few alignment issues] Signed-off-by: Dan McGee --- scripts/repo-add.sh.in | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/repo-add.sh.in') diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 7dfb9e2d..14bd00e4 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -462,6 +462,7 @@ if [ $success -eq 1 ]; then case "$REPO_DB_FILE" in *tar.gz) TAR_OPT="z" ;; *tar.bz2) TAR_OPT="j" ;; + *tar.xz) TAR_OPT="J" ;; *) warning "$(gettext "'%s' does not have a valid archive extension.")" \ "$REPO_DB_FILE" ;; esac -- cgit v1.2.3-24-g4f1b