aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-02-25 12:27:20 +0100
committerGravatar Christian Hesse <mail@eworm.de>2021-02-25 12:27:20 +0100
commit948a2664c4d6edc85393b13437360439fbafb3f2 (patch)
treee3aa705a417fcd4e2029a99d16d322e7aeb3077f
parent68ab6af56b62ec8cc9cc1b278b0a3d8a3c2546a0 (diff)
global-functions: $ScriptInstallUpdate: list news with 'black circle'
... if symbols are enabled.
-rw-r--r--global-functions5
1 files changed, 4 insertions, 1 deletions
diff --git a/global-functions b/global-functions
index 8bb18fd..5f524c7 100644
--- a/global-functions
+++ b/global-functions
@@ -602,12 +602,14 @@
:global GlobalConfigVersion;
:global Identity;
:global IDonate;
+ :global NotificationsWithSymbols;
:global ScriptUpdatesBaseUrl;
:global ScriptUpdatesFetch;
:global ScriptUpdatesUrlSuffix;
:global SentConfigChangesNotification;
:global CertificateAvailable;
+ :global IfThenElse;
:global LogPrintExit2;
:global ParseKeyValueStore;
:global ScriptInstallUpdate;
@@ -733,7 +735,8 @@
[ :parse $Migration ];
}
:set NotificationMessage ($NotificationMessage . \
- "\n * " . $GlobalConfigChanges->[ :tostr $I ]);
+ "\n " . [ $IfThenElse ($NotificationsWithSymbols = true) ("\E2\97\8F") "*" ] . " " . \
+ $GlobalConfigChanges->[ :tostr $I ]);
$LogPrintExit2 info $0 ("Change: " . $GlobalConfigChanges->[ :tostr $I ]) false;
}
:set GlobalConfigChanges;