Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
asylumexp committed Jan 21, 2025
1 parent b9947ad commit 636bc27
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion misc/build.func
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 636bc27

Please sign in to comment.