aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-04-01 11:38:25 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-04-01 11:38:25 +0200
commitafd33b8e257f9f9b9b666e912504525f04d48d63 (patch)
tree3d82e738a96727373776af1f4da45427982c4a5a /global-functions
parentda581dedbf636a1c9e7d4b3b94be86cc357d58c0 (diff)
global-functions: $ScriptInstallUpdate: log and print changes
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions2
1 files changed, 2 insertions, 0 deletions
diff --git a/global-functions b/global-functions
index 0692d70..2673d2e 100644
--- a/global-functions
+++ b/global-functions
@@ -482,6 +482,7 @@
" is out of date. Please update " . $ConfigScript . ", then increase " . \
"\$GlobalConfigVersion (currently " . $GlobalConfigVersion . \
") to " . $ExpectedConfigVersion . " and re-run " . $ConfigScript . ".");
+ $LogPrintExit info ($NotificationMessage) false;
$LogPrintExit debug ("Fetching changelog.") false;
:do {
@@ -496,6 +497,7 @@
:for I from=($GlobalConfigVersion + 1) to=$ExpectedConfigVersion do={
:set NotificationMessage ($NotificationMessage . \
"\n * " . $GlobalConfigChanges->[ :tostr $I ]);
+ $LogPrintExit info ("Change: " . $GlobalConfigChanges->[ :tostr $I ]) false;
}
:set GlobalConfigChanges;
} on-error={