From e6c32c41e9cdd3c596c89cf8d1696ad952516c53 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Tue, 21 Jul 2009 19:29:43 +0200 Subject: [PATCH] Also accept *.tar.lzma source archives. --- pkgmk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ;; -- 2.26.2