From 1a2e378dc253b55e1545441f111211831eec3291 Mon Sep 17 00:00:00 2001 From: Martinski <119833648+Martinski4GitHub@users.noreply.github.com> Date: Fri, 10 Jan 2025 08:36:36 -0800 Subject: [PATCH] Update MerlinAU.sh Ported fix from the "WebGUI" branch. --- MerlinAU.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/MerlinAU.sh b/MerlinAU.sh index f65591e8..9dfb10c7 100644 --- a/MerlinAU.sh +++ b/MerlinAU.sh @@ -4,7 +4,7 @@ # # Original Creation Date: 2023-Oct-01 by @ExtremeFiretop. # Official Co-Author: @Martinski W. - Date: 2023-Nov-01 -# Last Modified: 2025-Jan-06 +# Last Modified: 2025-Jan-10 ################################################################### set -u @@ -6002,7 +6002,7 @@ _ManageChangelogGnuton_() } ##----------------------------------------## -## Modified by Martinski W. [2024-Aug-05] ## +## Modified by Martinski W. [2025-Jan-10] ## ##----------------------------------------## _CheckNewUpdateFirmwareNotification_() { @@ -6023,7 +6023,11 @@ _CheckNewUpdateFirmwareNotification_() Update_Custom_Settings FW_New_Update_Notification_Date TBD Update_Custom_Settings FW_New_Update_Notification_Vers TBD Update_Custom_Settings FW_New_Update_Expected_Run_Date TBD - Update_Custom_Settings FW_New_Update_Changelog_Approval TBD + local currentChangelogValue="$(Get_Custom_Setting CheckChangeLog)" + if [ "$currentChangelogValue" = "ENABLED" ] + then + Update_Custom_Settings FW_New_Update_Changelog_Approval TBD + fi return 1 fi