Update utilities_menu.sh

This commit is contained in:
MacRimi
2025-08-20 19:44:16 +02:00
parent 5c9e4eea1e
commit e748e479cc

View File

@@ -30,7 +30,8 @@ initialize_cache
"1" "$(translate "UUp Dump ISO creator Custom")" \ "1" "$(translate "UUp Dump ISO creator Custom")" \
"2" "$(translate "System Utilities Installer")" \ "2" "$(translate "System Utilities Installer")" \
"3" "$(translate "Proxmox System Update")" \ "3" "$(translate "Proxmox System Update")" \
"4" "$(translate "Return to Main Menu")" \ "4" "$(translate "Upgrade PVE 8 to PVE 9")" \
"5" "$(translate "Return to Main Menu")" \
2>&1 >/dev/tty) 2>&1 >/dev/tty)
case $OPTION in case $OPTION in
@@ -69,7 +70,13 @@ initialize_cache
fi fi
fi fi
;; ;;
4) exec bash <(curl -s "$REPO_URL/scripts/menus/main_menu.sh") ;; 4)
bash <(curl -s "$REPO_URL/scripts/utilities/upgrade_pve8_to_pve9.sh")
if [ $? -ne 0 ]; then
return
fi
;;
5) exec bash <(curl -s "$REPO_URL/scripts/menus/main_menu.sh") ;;
*) exec bash <(curl -s "$REPO_URL/scripts/menus/main_menu.sh") ;; *) exec bash <(curl -s "$REPO_URL/scripts/menus/main_menu.sh") ;;
esac esac
done done