aboutsummaryrefslogtreecommitdiffstats
path: root/script-updates
diff options
context:
space:
mode:
Diffstat (limited to 'script-updates')
-rw-r--r--script-updates8
1 files changed, 6 insertions, 2 deletions
diff --git a/script-updates b/script-updates
index 6ba953c..989cbf2 100644
--- a/script-updates
+++ b/script-updates
@@ -4,9 +4,10 @@
#
# update installed scripts from file or url
-:global GlobalConfigVersion;
:global ExpectedConfigVersion;
+:global GlobalConfigVersion;
:global Identity;
+:global SentConfigChangesNotification;
:global ScriptUpdatesFetch;
:global ScriptUpdatesBaseUrl;
:global ScriptUpdatesUrlSuffix;
@@ -78,7 +79,9 @@
}
}
-:if ($ScriptUpdatesConfigChangesIgnore!=true && $GlobalConfigVersion < $ExpectedConfigVersion) do={
+:if ($ScriptUpdatesConfigChangesIgnore!=true && \
+ $SentConfigChangesNotification!=$ExpectedConfigVersion && \
+ $GlobalConfigVersion < $ExpectedConfigVersion) do={
:global GlobalConfigChanges;
:local ChangeLogCode;
:local Changes;
@@ -105,4 +108,5 @@
"GlobalConfigVersion (currently " . $GlobalConfigVersion . \
") to " . $ExpectedConfigVersion . " and re-run global-config.\n\n" . \
"Changes:" . $Changes);
+ :set SentConfigChangesNotification $ExpectedConfigVersion;
}