Skip to content

Commit 15b9808

Browse files
Merge pull request #262 from ExtremeFiretop/ExtremeFiretop-Update_Command
"Update" Menu Behavior
2 parents 88917af + c732d27 commit 15b9808

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

MerlinAU.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5872,12 +5872,10 @@ _ShowMainMenu_()
58725872
# Check for new script updates #
58735873
if [ "$scriptUpdateNotify" != "0" ]
58745874
then
5875-
forceScriptUpdateOption=""
5876-
printf "\n ${GRNct}up${NOct}. Update $SCRIPT_NAME Script Now"
5875+
printf "\n ${GRNct}up${NOct}. Update $SCRIPT_NAME Script"
58775876
printf "\n${padStr}[Version ${GRNct}${DLRepoVersion}${NOct} Available for Download]\n"
58785877
else
5879-
forceScriptUpdateOption="force"
5880-
printf "\n ${GRNct}up${NOct}. Force Update $SCRIPT_NAME Script Now"
5878+
printf "\n ${GRNct}up${NOct}. Force Update $SCRIPT_NAME Script"
58815879
printf "\n${padStr}[No Update Available]\n"
58825880
fi
58835881

@@ -6181,8 +6179,6 @@ do
61816179
# Check if the directory exists again before attempting to navigate to it
61826180
[ -d "$FW_BIN_DIR" ] && cd "$FW_BIN_DIR"
61836181

6184-
forceScriptUpdateOption=""
6185-
61866182
_ShowMainMenu_
61876183
printf "Enter selection: " ; read -r userChoice
61886184
echo
@@ -6210,7 +6206,7 @@ do
62106206
else _Approve_FW_Update_
62116207
fi
62126208
;;
6213-
up) _SCRIPTUPDATE_ "$forceScriptUpdateOption"
6209+
up) _SCRIPTUPDATE_
62146210
;;
62156211
ad) _advanced_options_menu_
62166212
;;

0 commit comments

Comments
 (0)