mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 19:15:55 +00:00
Update core.func
This commit is contained in:
@@ -262,12 +262,8 @@ ensure_tput() {
|
||||
}
|
||||
|
||||
is_alpine() {
|
||||
local os="${var_os:-$(
|
||||
. /etc/os-release 2>/dev/null
|
||||
echo "${ID:-}"
|
||||
)}"
|
||||
echo "[DEBUG] is_alpine(): OS='$os'" >&2
|
||||
[[ "$os" == "alpine" ]]
|
||||
echo "[DEBUG] is_alpine(): var_os='${var_os:-}'" >&2
|
||||
[[ "${var_os:-}" == "alpine" ]]
|
||||
}
|
||||
|
||||
is_verbose_mode() {
|
||||
|
||||
Reference in New Issue
Block a user