summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-03-08 18:23:04 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-03-08 18:23:04 -0400
commitb085acedb0a2beb64ffd01dfb664fc8be7589795 (patch)
tree5772a79e7caf19ed2320679410d2636e5e749d71 /.local/bin
parent217297d91f5e748b54f46428bda51a41d1a4aa22 (diff)
downloadeibhear-b085acedb0a2beb64ffd01dfb664fc8be7589795.tar.gz
eibhear-b085acedb0a2beb64ffd01dfb664fc8be7589795.tar.zst
eibhear-b085acedb0a2beb64ffd01dfb664fc8be7589795.zip
tar.xz fix
Diffstat (limited to '.local/bin')
-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" ;;