cookutils diff cook @ rev 698
cook: add tar.lz support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 05 11:59:50 2014 +0100 (2014-11-05) |
parents | 32986dd964ae |
children | 1bcdbd71bc99 |
line diff
1.1 --- a/cook Sat Oct 25 11:27:23 2014 +0200 1.2 +++ b/cook Wed Nov 05 11:59:50 2014 +0100 1.3 @@ -305,6 +305,7 @@ 1.4 *.tar.gz|*.tgz) tar xzf $SRC/$TARBALL 2>/dev/null ;; 1.5 *.tar.bz2|*.tbz|*.tbz2) tar xjf $SRC/$TARBALL 2>/dev/null ;; 1.6 *.tar.lzma) tar xaf $SRC/$TARBALL ;; 1.7 + *.tar.lz|*.tlz) lzip -d < $SRC/$TARBALL | tar xf - 2>/dev/null ;; 1.8 *.tar) tar xf $SRC/$TARBALL ;; 1.9 *.zip|*.xpi) unzip -o $SRC/$TARBALL ;; 1.10 *.xz) unxz -c $SRC/$TARBALL | tar xf - || tar xf $SRC/$TARBALL 2>/dev/null;;