Skip to content

Commit 08c3ae0

Browse files
Update MerlinAU.sh
1 parent e606481 commit 08c3ae0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

MerlinAU.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2661,6 +2661,7 @@ Please manually update to version $minimum_supported_version or higher to use th
26612661
Say "Change-logs check disabled."
26622662
fi
26632663

2664+
rog_file=""
26642665
# Detect ROG and pure firmware files
26652666
rog_file="$(ls | grep -i '_rog_')"
26662667
pure_file="$(ls -1 | grep -iE '.*[.](w|pkgtb)$' | grep -iv 'rog')"
@@ -3125,8 +3126,6 @@ then
31253126
_WaitForEnterKey_
31263127
fi
31273128

3128-
rog_file=""
3129-
31303129
FW_RouterProductID="${GRNct}${PRODUCT_ID}${NOct}"
31313130
if [ "$PRODUCT_ID" = "$MODEL_ID" ]
31323131
then FW_RouterModelID="${FW_RouterProductID}"
@@ -3338,14 +3337,11 @@ theExitStr="${GRNct}e${NOct}=Exit to main menu"
33383337

33393338
while true
33403339
do
3341-
local_choice_set="$(Get_Custom_Setting "ROGBuild")"
33423340
show_menu
33433341

33443342
# Check if the directory exists again before attempting to navigate to it
33453343
if [ -d "$FW_BIN_DIR" ]; then
33463344
cd "$FW_BIN_DIR"
3347-
# Check for the presence of "rog" in filenames in the directory again
3348-
rog_file="$(ls | grep -i '_rog_')"
33493345
fi
33503346

33513347
printf "Enter selection: " ; read -r userChoice

0 commit comments

Comments
 (0)