mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-22 06:13:54 -07:00
Update install.sh
This commit is contained in:
parent
7d76bc38f7
commit
76ac46936b
1 changed files with 1 additions and 4 deletions
|
@ -88,9 +88,6 @@ is_command() {
|
||||||
echoerr() {
|
echoerr() {
|
||||||
echo "$@" 1>&2
|
echo "$@" 1>&2
|
||||||
}
|
}
|
||||||
# log_prefix() {
|
|
||||||
# echo "$0"
|
|
||||||
# }
|
|
||||||
_logp=6
|
_logp=6
|
||||||
log_set_priority() {
|
log_set_priority() {
|
||||||
_logp="$1"
|
_logp="$1"
|
||||||
|
@ -168,7 +165,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 -xzf "${tarball}" ;;
|
*.tar.gz | *.tgz) 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