diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-03-08 18:23:04 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-03-08 18:23:04 -0400 |
| commit | b085acedb0a2beb64ffd01dfb664fc8be7589795 (patch) | |
| tree | 5772a79e7caf19ed2320679410d2636e5e749d71 /.local | |
| parent | 217297d91f5e748b54f46428bda51a41d1a4aa22 (diff) | |
| download | eibhear-b085acedb0a2beb64ffd01dfb664fc8be7589795.tar.gz eibhear-b085acedb0a2beb64ffd01dfb664fc8be7589795.tar.zst eibhear-b085acedb0a2beb64ffd01dfb664fc8be7589795.zip | |
tar.xz fix
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/ext | 3 |
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" ;; |
