forked from forkanization/Proxmox-arm64
This commit is contained in:
@@ -788,7 +788,11 @@ start() {
|
||||
fi
|
||||
|
||||
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
|
||||
clear
|
||||
exit_script
|
||||
|
||||
Reference in New Issue
Block a user