mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-22 06:13:54 -07:00
add z for explicit gzip support
This commit is contained in:
parent
e3ca5c86c6
commit
7d76bc38f7
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ uname_arch_check() {
|
||||||
untar() {
|
untar() {
|
||||||
tarball=$1
|
tarball=$1
|
||||||
case "${tarball}" in
|
case "${tarball}" in
|
||||||
*.tar.gz | *.tgz | *.tar.xz) tar --no-same-owner -xf "${tarball}" ;;
|
*.tar.gz | *.tgz | *.tar.xz) tar --no-same-owner -xzf "${tarball}" ;;
|
||||||
*.tar) tar --no-same-owner -xf "${tarball}" ;;
|
*.tar) tar --no-same-owner -xf "${tarball}" ;;
|
||||||
*.zip) unzip "${tarball}" ;;
|
*.zip) unzip "${tarball}" ;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue