You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: menu/main_menu.sh
+8-2
Original file line number
Diff line number
Diff line change
@@ -52,9 +52,15 @@ do_the_update() {
52
52
bash "$SCRIPTS"/update.sh minor
53
53
if version_gt "$NCVERSION""$CURRENTVERSION"
54
54
then
55
-
ifyesno_box_yes "We will now run the update script a second time to update to the latest major version ($NCVERSION). Do you want to continue?"
55
+
if[ -n"$REBOOT_SET" ]
56
56
then
57
-
bash "$SCRIPTS"/update.sh
57
+
msg_box "Since you have automated updates enabled with the reboot option set, we won't run update script a second time to the latest version automatically.
58
+
To upgrade to the latest version, please run: 'sudo bash $SCRIPTS/update.sh' from your CLI."
59
+
else
60
+
if yesno_box_yes "We will now run the update script a second time to update to the latest major version ($NCVERSION). Do you want to continue?"
0 commit comments