added support for zst in extract
This commit is contained in:
parent
0e8f770a93
commit
99d5d93703
@ -26,6 +26,7 @@ case "$archive" in
|
|||||||
*.7z) 7z x "$toextract" ;;
|
*.7z) 7z x "$toextract" ;;
|
||||||
*.xz) unxz "$toextract" ;;
|
*.xz) unxz "$toextract" ;;
|
||||||
*.exe) cabextract "$toextract" ;;
|
*.exe) cabextract "$toextract" ;;
|
||||||
|
*.zst) zstd -d "$toextract";;
|
||||||
*) printf "extract: '%s' - unknown archive method\\n" "$toextract" ;;
|
*) printf "extract: '%s' - unknown archive method\\n" "$toextract" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user