Skip to content

Commit

Permalink
Update MerlinAU.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ExtremeFiretop authored Apr 19, 2024
1 parent 755cf7d commit 27b0628
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MerlinAU.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3923,7 +3923,7 @@ Please manually update to version $minimum_supported_version or higher to use th

Say "Latest release version is ${GRNct}${release_version}${NOct}."
Say "Downloading ${GRNct}${release_link}${NOct}"
echo
echo ""

##----------------------------------------##
## Modified by Martinski W. [2024-Feb-28] ##
Expand All @@ -3933,7 +3933,7 @@ Please manually update to version $minimum_supported_version or higher to use th
[ -f "$wgetHstsFile" ] && chmod 0644 "$wgetHstsFile"

# Follow redirects and capture the effective URL
local effective_url=$(curl -Ls -o /dev/null -w %{url_effective} "$release_link")
effective_url=$(curl -Ls -o /dev/null -w %{url_effective} "$release_link")

if "$isGNUtonFW"
then
Expand Down Expand Up @@ -4593,6 +4593,7 @@ fi
# it has the minimum firmware version supported.
check_model_support
check_version_support
isGNUtonFW=$(_GetFirmwareVariantFromRouter_)

##-------------------------------------##
## Added by Martinski W. [2024-Jan-24] ##
Expand Down Expand Up @@ -4823,7 +4824,6 @@ _ShowMainMenu_()
then notificationStr="${REDct}NOT SET${NOct}"
else notificationStr="${GRNct}$(_SimpleNotificationDate_ "$notifyDate")${NOct}"
fi
isGNUtonFW=$(_GetFirmwareVariantFromRouter_)
# Use the global variable
if "$isGNUtonFW"
then
Expand Down

1 comment on commit 27b0628

@Martinski4GitHub
Copy link
Collaborator

@Martinski4GitHub Martinski4GitHub commented on 27b0628 Apr 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's it. Now we have the very first crucial step in the right place.

Please sign in to comment.