global-functions: $ScriptInstallUpdate: disable notification only...

... if requested, but keep output and logs.
This commit is contained in:
Christian Hesse 2022-09-28 08:44:05 +02:00
parent b18ca62dbd
commit 10182949ea

View file

@ -832,7 +832,6 @@
} }
} }
:if ($NoNewsAndChangesNotification != true) do={
:local NotificationMessage ("The configuration version on " . $Identity . " increased " . \ :local NotificationMessage ("The configuration version on " . $Identity . " increased " . \
"to " . $ExpectedConfigVersion . ", current configuration may need modification. " . \ "to " . $ExpectedConfigVersion . ", current configuration may need modification. " . \
"Please review and update global-config-overlay, then re-run global-config."); "Please review and update global-config-overlay, then re-run global-config.");
@ -850,6 +849,7 @@
:set NotificationMessage ($NotificationMessage . "\n\nNews and changes are not available."); :set NotificationMessage ($NotificationMessage . "\n\nNews and changes are not available.");
} }
:if ($NoNewsAndChangesNotification != true) do={
:local Link; :local Link;
:if ($IDonate != true) do={ :if ($IDonate != true) do={
:set NotificationMessage ($NotificationMessage . \ :set NotificationMessage ($NotificationMessage . \