From: Andrew Brouwers Date: Sat, 27 Mar 2010 16:30:02 +0000 (+0100) Subject: Added support for *.tbz2 and *.txz source entries in pkgmk. X-Git-Url: http://gitweb/?a=commitdiff_plain;h=5228efc2d634e5b75429b221ea4e09c20b5b4829;p=pkgutils-cross.git Added support for *.tbz2 and *.txz source entries in pkgmk. --- 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" ;;