mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: $ScriptInstallUpdate: list news with 'black circle'
... if symbols are enabled.
This commit is contained in:
@ -602,12 +602,14 @@
|
|||||||
:global GlobalConfigVersion;
|
:global GlobalConfigVersion;
|
||||||
:global Identity;
|
:global Identity;
|
||||||
:global IDonate;
|
:global IDonate;
|
||||||
|
:global NotificationsWithSymbols;
|
||||||
:global ScriptUpdatesBaseUrl;
|
:global ScriptUpdatesBaseUrl;
|
||||||
:global ScriptUpdatesFetch;
|
:global ScriptUpdatesFetch;
|
||||||
:global ScriptUpdatesUrlSuffix;
|
:global ScriptUpdatesUrlSuffix;
|
||||||
:global SentConfigChangesNotification;
|
:global SentConfigChangesNotification;
|
||||||
|
|
||||||
:global CertificateAvailable;
|
:global CertificateAvailable;
|
||||||
|
:global IfThenElse;
|
||||||
:global LogPrintExit2;
|
:global LogPrintExit2;
|
||||||
:global ParseKeyValueStore;
|
:global ParseKeyValueStore;
|
||||||
:global ScriptInstallUpdate;
|
:global ScriptInstallUpdate;
|
||||||
@ -733,7 +735,8 @@
|
|||||||
[ :parse $Migration ];
|
[ :parse $Migration ];
|
||||||
}
|
}
|
||||||
:set NotificationMessage ($NotificationMessage . \
|
: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;
|
$LogPrintExit2 info $0 ("Change: " . $GlobalConfigChanges->[ :tostr $I ]) false;
|
||||||
}
|
}
|
||||||
:set GlobalConfigChanges;
|
:set GlobalConfigChanges;
|
||||||
|
Reference in New Issue
Block a user