Add support for lz compressed tar archives

This commit is contained in:
Tom G. Christensen 2018-04-14 14:08:12 +02:00
parent f95e226c80
commit fe7f6cb97e
2 changed files with 2 additions and 0 deletions

View File

@ -436,6 +436,7 @@ unpack()
'Z') ${__gzip} -dc $absfile | ${__tar} -xf -;;
'tgz') ${__gzip} -dc $absfile | ${__tar} -xf -;;
'xz') ${__xz} -dc $absfile | ${__tar} -xf -;;
'lz') ${__lzip} -dc $absfile | ${__tar} -xf -;;
'zip') ${__unzip} -q $absfile;;
*) error $E_BAD_COMPRESS unpack
esac

View File

@ -9,6 +9,7 @@ __vtar=/usr/bin/tar # vendor supplied tar
__bzip2=/usr/tgcware/bin/bzip2
__gzip=/usr/tgcware/bin/gzip
__xz=/usr/tgcware/bin/xz
__lzip=/usr/tgcware/bin/lzip
__patch=/usr/tgcware/bin/patch # GNU patch 2.5 or better please!
__rm=/usr/bin/rm
__rmdir=/usr/bin/rmdir