summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorMRAAGH <33424247+MRAAGH@users.noreply.github.com>2021-02-23 17:43:47 +0100
committerGitHub <noreply@github.com>2021-02-23 11:43:47 -0500
commit1692a8fe1599ec0d3fe859e8cfc3b363eefbbaba (patch)
tree223ffb7175194f059074c61925f0e64dc1db3d8e /.local
parent219ea40fe99d3b64d32532ef826cb6c2ce12feac (diff)
downloadeibhear-1692a8fe1599ec0d3fe859e8cfc3b363eefbbaba.tar.gz
eibhear-1692a8fe1599ec0d3fe859e8cfc3b363eefbbaba.tar.zst
eibhear-1692a8fe1599ec0d3fe859e8cfc3b363eefbbaba.zip
support .tar.zst (#903)
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/ext1
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/ext b/.local/bin/ext
index 806ce5e..927fb5b 100755
--- a/.local/bin/ext
+++ b/.local/bin/ext
@@ -27,6 +27,7 @@ if [ -f "$archive" ] ; then
*.tar.bz2|*.tbz2) tar xvjf "$archive" ;;
*.tar.xz) tar -xf "$archive" ;;
*.tar.gz|*.tgz) tar xvzf "$archive" ;;
+ *.tar.zst) tar -I zstd -xf "$archive" ;;
*.lzma) unlzma "$archive" ;;
*.bz2) bunzip2 "$archive" ;;
*.rar) unrar x -ad "$archive" ;;