tar.xz fix

This commit is contained in:
Luke Smith 2020-03-08 18:23:04 -04:00
parent 217297d91f
commit b085acedb0
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -24,7 +24,8 @@ fi
if [ -f "$archive" ] ; then
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" ;;
*.lzma) unlzma "$archive" ;;
*.bz2) bunzip2 "$archive" ;;