forked from tools/pkgutils
pkgmk: extract archives with tar.lz extension
This commit is contained in:
parent
53ec86f6a3
commit
9033d1650c
2
pkgmk.in
2
pkgmk.in
@ -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" ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user