update fix

This commit is contained in:
David Schroeder
2026-09-22 22:05:38 -05:00
parent 158d3ffe76
commit 0c1c5033e0
5 changed files with 59 additions and 5 deletions
+12 -3
View File
@@ -2678,6 +2678,16 @@ BRANCH_MANAGEMENT_MENU() {
done
}
TAPM_INSTALL_MENU_UPDATE() {
if ! /opt/idssys/ta-proxmenu/run.sh update; then
printf '\nUpdate reported failures; review the node results above. TAPM will reload the locally installed version.\n'
ENTER2CONTINUE
fi
# A remote failure can coexist with a successful local update. Reload the
# full menu, including functions and defaults, regardless of cluster status.
exec /opt/idssys/ta-proxmenu/run.sh
}
UTILITIES_MENU() {
local -a labels
local -a values=("install_update" "check_update" "branches" "about")
@@ -2727,9 +2737,8 @@ UTILITIES_MENU() {
echo -en "\n${idsCL[LightCyan]}Install the update for the current branch (y/N)?${idsCL[Default]} "
read -r -n 1 choice
echo
if [[ "$choice" =~ ^[Yy]$ ]] &&
/opt/idssys/ta-proxmenu/run.sh update; then
exec /opt/idssys/ta-proxmenu/run.sh
if [[ "$choice" =~ ^[Yy]$ ]]; then
TAPM_INSTALL_MENU_UPDATE
fi
ENTER2CONTINUE
;;