Skip to content

Commit 90844b0

Browse files
Merge branch 'dev' into Improvements
2 parents 1770816 + 01ca8bf commit 90844b0

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

MerlinAU.sh

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
#
55
# Original Creation Date: 2023-Oct-01 by @ExtremeFiretop.
66
# Official Co-Author: @Martinski W. - Date: 2023-Nov-01
7-
# Last Modified: 2026-Apr-27
7+
# Last Modified: 2026-May-06
88
###################################################################
99
set -u
1010

1111
## Set version for each Production Release ##
1212
readonly SCRIPT_VERSION=1.6.2
13-
readonly SCRIPT_VERSTAG="26042703"
13+
readonly SCRIPT_VERSTAG="26050619"
1414
readonly SCRIPT_NAME="MerlinAU"
1515
## Set to "master" for Production Releases ##
1616
SCRIPT_BRANCH="dev"
@@ -5390,7 +5390,7 @@ _GetLatestFWUpdateVersionFromNode_()
53905390
}
53915391

53925392
##----------------------------------------##
5393-
## Modified by Martinski W. [2024-Jun-05] ##
5393+
## Modified by Martinski W. [2026-May-06] ##
53945394
##----------------------------------------##
53955395
_GetLatestFWUpdateVersionFromWebsite_()
53965396
{
@@ -5420,6 +5420,11 @@ _GetLatestFWUpdateVersionFromWebsite_()
54205420
then echo "**ERROR** **NO_URL**" ; return 1
54215421
fi
54225422

5423+
## Make sure "386.xx" versions have '3004.' prefix ##
5424+
if echo "$versionStr" | grep -qE '^386[.][0-9]+'
5425+
then versionStr="3004.$versionStr"
5426+
fi
5427+
54235428
echo "$versionStr"
54245429
echo "$correct_link"
54255430
return 0
@@ -6669,7 +6674,7 @@ _Calculate_NextRunTime_()
66696674
if [ -z "$fwNewUpdateNotificationDate" ] || \
66706675
[ "$fwNewUpdateNotificationDate" = "TBD" ]
66716676
then
6672-
fwNewUpdateNotificationDate="$(date +%Y-%m-%d_%H:%M:%S)"
6677+
fwNewUpdateNotificationDate="$(date +"$FW_UpdateNotificationDateFormat")"
66736678
fi
66746679

66756680
upfwDateTimeSecs="$(_Calculate_DST_ "$(echo "$fwNewUpdateNotificationDate" | sed 's/_/ /g')")"
@@ -8299,9 +8304,9 @@ _ManageChangelogGnuton_()
82998304
return 0
83008305
}
83018306

8302-
##------------------------------------------##
8303-
## Modified by ExtremeFiretop [2025-Apr-11] ##
8304-
##------------------------------------------##
8307+
##----------------------------------------##
8308+
## Modified by Martinski W. [2026-May-06] ##
8309+
##----------------------------------------##
83058310
_CheckNewUpdateFirmwareNotification_()
83068311
{
83078312
if [ $# -lt 2 ] || [ -z "$1" ] || [ -z "$2" ]
@@ -8334,6 +8339,8 @@ _CheckNewUpdateFirmwareNotification_()
83348339
then
83358340
fwNewUpdateNotificationVers="$releaseVersionStr"
83368341
Update_Custom_Settings FW_New_Update_Notification_Vers "$fwNewUpdateNotificationVers"
8342+
# Reset for newer F/W version updates #
8343+
Update_Custom_Settings FW_New_Update_Notification_Date TBD
83378344
else
83388345
numOfFields="$(echo "$fwNewUpdateNotificationVers" | awk -F '.' '{print NF}')"
83398346
fwNewUpdateVersNum="$(_FWVersionStrToNum_ "$fwNewUpdateNotificationVers" "$numOfFields")"

0 commit comments

Comments
 (0)