From: Juergen Daubert Date: Wed, 28 Nov 2012 12:23:58 +0000 (+0100) Subject: pkgmk: add support for plain tar, FS#603 X-Git-Url: http://gitweb/?a=commitdiff_plain;h=a455d5533e1fa24564c4634182370bff5217dd13;p=pkgutils-cross.git pkgmk: add support for plain tar, FS#603 --- diff --git a/pkgmk.in b/pkgmk.in index 97737dd..a64b6cc 100755 --- a/pkgmk.in +++ b/pkgmk.in @@ -174,7 +174,7 @@ unpack_source() { for FILE in ${source[@]}; do LOCAL_FILENAME=`get_filename $FILE` case $LOCAL_FILENAME in - *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tbz2|*.tar.xz|*.txz|*.tar.lzma|*.zip|*.rpm) + *.tar|*.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" ;;