fix(update): confirm with Yes focused and keep the package list aligned

This commit is contained in:
MacRimi
2026-10-28 17:24:14 +01:00
parent 52d44a7435
commit 8ee3b29991
14 changed files with 123 additions and 63 deletions
+2 -3
View File
@@ -110,10 +110,9 @@ update_pbs() {
return 0
fi
menu_text+="$(translate "Packages to be upgraded"):\n$upgradable_list\n\n"
menu_text+="$(translate "Do you want to proceed with the system update?")"
local proceed=0
whiptail --title "$(translate "Proxmox Backup Server Update")" --scrolltext --yesno "$menu_text" 24 78 || proceed=1
pmx_confirm_update "$(translate "Proxmox Backup Server Update")" "$menu_text" "$upgradable_list" \
"$(translate "Do you want to proceed with the system update?")" || proceed=1
clear
show_proxmenux_logo