diff --git a/.local/bin/ext b/.local/bin/ext index c2e0f5c..c5f89c5 100755 --- a/.local/bin/ext +++ b/.local/bin/ext @@ -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" ;;