From afd33b8e257f9f9b9b666e912504525f04d48d63 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 1 Apr 2020 11:38:25 +0200 Subject: global-functions: $ScriptInstallUpdate: log and print changes --- global-functions | 2 ++ 1 file changed, 2 insertions(+) (limited to 'global-functions') 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={ -- cgit v1.2.3-54-g00ecf