From a455d5533e1fa24564c4634182370bff5217dd13 Mon Sep 17 00:00:00 2001 From: Juergen Daubert Date: Wed, 28 Nov 2012 13:23:58 +0100 Subject: [PATCH] pkgmk: add support for plain tar, FS#603 --- pkgmk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ;; -- 2.26.2