summaryrefslogtreecommitdiffstats
path: root/.local/bin/ext
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/ext')
-rwxr-xr-x.local/bin/ext3
1 files changed, 2 insertions, 1 deletions
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" ;;