commit b085acedb0a2beb64ffd01dfb664fc8be7589795
parent 217297d91f5e748b54f46428bda51a41d1a4aa22
Author: Luke Smith <luke@lukesmith.xyz>
Date: Sun, 8 Mar 2020 18:23:04 -0400
tar.xz fix
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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" ;;