tar.xz fix
This commit is contained in:
parent
217297d91f
commit
b085acedb0
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ fi
|
||||||
|
|
||||||
if [ -f "$archive" ] ; then
|
if [ -f "$archive" ] ; then
|
||||||
case "$archive" in
|
case "$archive" in
|
||||||
*.tar.bz2|*.tar.xz|*.tbz2) tar xvjf "$archive" ;;
|
*.tar.bz2|*.tbz2) tar xvjf "$archive" ;;
|
||||||
|
*.tar.xz) tar -xf "$archive" ;;
|
||||||
*.tar.gz|*.tgz) tar xvzf "$archive" ;;
|
*.tar.gz|*.tgz) tar xvzf "$archive" ;;
|
||||||
*.lzma) unlzma "$archive" ;;
|
*.lzma) unlzma "$archive" ;;
|
||||||
*.bz2) bunzip2 "$archive" ;;
|
*.bz2) bunzip2 "$archive" ;;
|
||||||
|
|
Loading…
Reference in a new issue