From: Tilman Sauerbeck Date: Tue, 21 Jul 2009 17:29:43 +0000 (+0200) Subject: Also accept *.tar.lzma source archives. X-Git-Url: http://gitweb/?a=commitdiff_plain;h=e6c32c41e9cdd3c596c89cf8d1696ad952516c53;p=pkgutils-cross.git Also accept *.tar.lzma source archives. --- diff --git a/pkgmk.in b/pkgmk.in index bf7d753..c7f5432 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|*.zip) + *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tar.xz|*.tar.lzma|*.zip) COMMAND="bsdtar -p -o -C $SRC -xf $LOCAL_FILENAME" ;; *) COMMAND="cp $LOCAL_FILENAME $SRC" ;;