Add possibility for lzma extension when untarring in BLFS tools
This commit is contained in:
parent
5f154f1a1f
commit
e6967a11b1
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ find . -maxdepth 1 -mindepth 1 -type d | xargs </xsl:text>
|
|||
</xsl:if>
|
||||
<xsl:text>rm -rf
|
||||
case $PACKAGE in
|
||||
*.tar.gz|*.tar.bz2|*.tar.xz|*.tgz)
|
||||
*.tar.gz|*.tar.bz2|*.tar.xz|*.tgz|*.tar.lzma)
|
||||
tar -xvf $PACKAGE > unpacked
|
||||
UNPACKDIR=`grep '[^./]\+' unpacked | head -n1 | sed 's@^./@@;s@/.*@@'`
|
||||
;;
|
||||
|
|
Reference in a new issue