From 5228efc2d634e5b75429b221ea4e09c20b5b4829 Mon Sep 17 00:00:00 2001 From: Andrew Brouwers Date: Sat, 27 Mar 2010 17:30:02 +0100 Subject: [PATCH] Added support for *.tbz2 and *.txz source entries in pkgmk. --- pkgmk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgmk.in b/pkgmk.in index 8374e03..b8e3e4e 100755 --- a/pkgmk.in +++ b/pkgmk.in @@ -162,7 +162,7 @@ unpack_source() { for FILE in ${source[@]}; do LOCAL_FILENAME=`get_filename $FILE` case $LOCAL_FILENAME in - *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tar.xz|*.tar.lzma|*.zip|*.rpm) + *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tbz2|*.tar.xz|*.txz|*.tar.lzma|*.zip|*.rpm) COMMAND="bsdtar -p -o -C $SRC -xf $LOCAL_FILENAME" ;; *) COMMAND="cp $LOCAL_FILENAME $SRC" ;; -- 2.26.2