Update build.func

This commit is contained in:
CanbiZ 2025-03-25 15:36:16 +01:00
parent 3cc3c6d534
commit 29be0e9183

View File

@ -1367,14 +1367,11 @@ start() {
fi fi
SPINNER_PID="" SPINNER_PID=""
install_script install_script
fi else
if ! command -v pveversion >/dev/null 2>&1; then
if [ -f /etc/alpine-release ]; then if [ -f /etc/alpine-release ]; then
echo "Running on Alpine Linux minimal update process." echo "Running on Alpine Linux minimal update process."
update_script update_script
return else
fi
CHOICE=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --title "${APP} LXC Update/Setting" --menu \ CHOICE=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --title "${APP} LXC Update/Setting" --menu \
"Support/Update functions for ${APP} LXC. Choose an option:" \ "Support/Update functions for ${APP} LXC. Choose an option:" \
12 60 3 \ 12 60 3 \
@ -1401,9 +1398,9 @@ start() {
;; ;;
esac esac
SPINNER_PID=""
update_script update_script
fi fi
fi
} }
# This function collects user settings and integrates all the collected information. # This function collects user settings and integrates all the collected information.