Update build.func

This commit is contained in:
CanbiZ 2025-07-28 14:44:37 +02:00
parent f5b1cecef2
commit c24b0b67ce

View File

@ -98,14 +98,14 @@ pve_check() {
# Check for Proxmox VE 9.x (Beta) — require confirmation
if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
if whiptail --title "Proxmox 9.x Detected (Beta)" \
--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
#if whiptail --title "Proxmox 9.x Detected (Beta)" \
#--yesno "You are using Proxmox VE $PVE_VER, which is currently in Beta state.\n\nThis version is experimentally supported.\n\nDo you want to proceed anyway?" 12 70; then
#msg_ok "Confirmed: Continuing with Proxmox VE $PVE_VER"
return 0
else
msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
exit 1
fi
#else
#msg_error "Aborted by user: Proxmox VE 9.x was not confirmed."
#exit 1
#fi
fi
# All other unsupported versions