Update core.func
This commit is contained in:
parent
c4139b0657
commit
03825ae872
@ -262,12 +262,8 @@ ensure_tput() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
is_alpine() {
|
is_alpine() {
|
||||||
local os="${var_os:-$(
|
echo "[DEBUG] is_alpine(): var_os='${var_os:-}'" >&2
|
||||||
. /etc/os-release 2>/dev/null
|
[[ "${var_os:-}" == "alpine" ]]
|
||||||
echo "${ID:-}"
|
|
||||||
)}"
|
|
||||||
echo "[DEBUG] is_alpine(): OS='$os'" >&2
|
|
||||||
[[ "$os" == "alpine" ]]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
is_verbose_mode() {
|
is_verbose_mode() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user