diff --git a/misc/alpine-install.func b/misc/alpine-install.func index c1a01eb..8d19309 100644 --- a/misc/alpine-install.func +++ b/misc/alpine-install.func @@ -99,6 +99,7 @@ update_os() { $STD apk update $STD apk upgrade msg_ok "Updated Container OS" + detect_os } # This function modifies the message of the day (motd) and SSH settings diff --git a/misc/core.func b/misc/core.func index fad5c07..7d8d840 100644 --- a/misc/core.func +++ b/misc/core.func @@ -249,7 +249,6 @@ spinner_frames=('⠋' '⠙' '⠹' '⠸' '⠼' '⠴' '⠦' '⠧' '⠇' '⠏') # Ensure POSIX compatibility across Alpine and Debian/Ubuntu # === Spinner Start === start_spinner() { - detect_os local msg="$1" local spin_i=0 local interval=0.1 diff --git a/misc/install.func b/misc/install.func index 8de87e1..00dd4be 100644 --- a/misc/install.func +++ b/misc/install.func @@ -168,6 +168,7 @@ EOF $STD apt-get -o Dpkg::Options::="--force-confold" -y dist-upgrade rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Container OS" + detect_os source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/tools.func) }