This commit is contained in:
Sam Heinz
2025-01-22 01:14:13 +10:00
parent b9947adf0f
commit 636bc27d3b
+5 -1
View File
@@ -788,7 +788,11 @@ start() {
fi fi
if ! command -v pveversion >/dev/null 2>&1; then if ! command -v pveversion >/dev/null 2>&1; then
apt-get install -y whiptail if [ -f /etc/debian_version ] || [ -f /etc/lsb-release ]; then
apt-get install -y whiptail &>/dev/null
elif [ -f /etc/alpine-release ]; then
apk add --no-cache whiptail &>/dev/null
fi
if ! (whiptail --backtitle "Proxmox VE Helper Scripts" --title "${APP} LXC UPDATE" --yesno "Support/Update functions for ${APP} LXC. Proceed?" 10 58); then if ! (whiptail --backtitle "Proxmox VE Helper Scripts" --title "${APP} LXC UPDATE" --yesno "Support/Update functions for ${APP} LXC. Proceed?" 10 58); then
clear clear
exit_script exit_script