aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions8
1 files changed, 7 insertions, 1 deletions
diff --git a/global-functions b/global-functions
index 9e89670..9ed6b4a 100644
--- a/global-functions
+++ b/global-functions
@@ -796,7 +796,13 @@
}
}
- :if ($ExpectedConfigVersionBefore != $ExpectedConfigVersion) do={
+ :if ($ExpectedConfigVersionBefore > $ExpectedConfigVersion) do={
+ $LogPrintExit2 warning $0 ("The configuration version decreased from " . \
+ $ExpectedConfigVersionBefore . " to " . $ExpectedConfigVersion . \
+ ". Installed an older version?") false;
+ }
+
+ :if ($ExpectedConfigVersionBefore < $ExpectedConfigVersion) do={
:global GlobalConfigChanges;
:global GlobalConfigMigration;
:local ChangeLogCode;