diff options
author | Juergen Daubert <jue@jue.li> | 2016-10-04 15:31:41 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2016-10-04 15:31:41 +0200 |
commit | 9033d1650cafd825400e836a965c7744f99b3dc0 (patch) | |
tree | 8f1f829736546280cb10a5dbdab955360bed9896 | |
parent | 53ec86f6a311f4bcb146daf5fbb92acec60147a6 (diff) | |
download | pkgutils-9033d1650cafd825400e836a965c7744f99b3dc0.tar.gz pkgutils-9033d1650cafd825400e836a965c7744f99b3dc0.tar.xz |
pkgmk: extract archives with tar.lz extension
-rwxr-xr-x | pkgmk.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -197,7 +197,7 @@ unpack_source() { for FILE in ${source[@]}; do LOCAL_FILENAME=`get_filename $FILE` case $LOCAL_FILENAME in - *.tar|*.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|*.tar.lz|*.zip|*.rpm) COMMAND="bsdtar -p -o -C $SRC -xf $LOCAL_FILENAME" ;; *) COMMAND="cp $LOCAL_FILENAME $SRC" ;; |