summaryrefslogtreecommitdiffstats
path: root/.local/bin/ext
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-08-25 08:03:03 -0400
committerLuke Smith <luke@lukesmith.xyz>2021-08-25 08:03:03 -0400
commit645058d1b5d25a55951ca6a4fbfe89bd7e41f566 (patch)
tree84ad3fe86fecb14dd0cb2ba9b0b783102fe17d16 /.local/bin/ext
parent1c676c7cf2efe877260132888a88a2b918855785 (diff)
parent2eb02268b6054d99e5f8012e07f4c5d83e95e94f (diff)
downloadeibhear-645058d1b5d25a55951ca6a4fbfe89bd7e41f566.tar.gz
eibhear-645058d1b5d25a55951ca6a4fbfe89bd7e41f566.tar.zst
eibhear-645058d1b5d25a55951ca6a4fbfe89bd7e41f566.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/ext')
-rwxr-xr-x.local/bin/ext10
1 files changed, 5 insertions, 5 deletions
diff --git a/.local/bin/ext b/.local/bin/ext
index 927fb5b..6950ff6 100755
--- a/.local/bin/ext
+++ b/.local/bin/ext
@@ -24,15 +24,15 @@ fi
if [ -f "$archive" ] ; then
case "$archive" in
- *.tar.bz2|*.tbz2) tar xvjf "$archive" ;;
- *.tar.xz) tar -xf "$archive" ;;
- *.tar.gz|*.tgz) tar xvzf "$archive" ;;
- *.tar.zst) tar -I zstd -xf "$archive" ;;
+ *.tar.bz2|*.tbz2) bsdtar -xf "$archive" ;;
+ *.tar.xz) bsdtar -xf "$archive" ;;
+ *.tar.gz|*.tgz) bsdtar -xf "$archive" ;;
+ *.tar.zst) bsdtar -xf "$archive" ;;
+ *.tar) bsdtar -xf "$archive" ;;
*.lzma) unlzma "$archive" ;;
*.bz2) bunzip2 "$archive" ;;
*.rar) unrar x -ad "$archive" ;;
*.gz) gunzip "$archive" ;;
- *.tar) tar xvf "$archive" ;;
*.zip) unzip "$archive" ;;
*.Z) uncompress "$archive" ;;
*.7z) 7z x "$archive" ;;