mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-30 15:55:34 +02:00
global-functions: $ScriptInstallUpdate: warn just once...
... for every script on required RouterOS version.
This commit is contained in:
parent
07cdeadf43
commit
5b6ed4216e
1 changed files with 2 additions and 1 deletions
|
@ -951,6 +951,7 @@
|
|||
:global Grep;
|
||||
:global IfThenElse;
|
||||
:global LogPrintExit2;
|
||||
:global LogPrintOnce;
|
||||
:global ParseKeyValueStore;
|
||||
:global RequiredRouterOS;
|
||||
:global SendNotification2;
|
||||
|
@ -1026,7 +1027,7 @@
|
|||
"' failed! Ignoring!") false;
|
||||
}
|
||||
} else={
|
||||
$LogPrintExit2 warning $0 ("The script '" . $ScriptVal->"name" . "' requires RouterOS " . \
|
||||
$LogPrintOnce warning $0 ("The script '" . $ScriptVal->"name" . "' requires RouterOS " . \
|
||||
$Required . ", which is not met by your installation. Ignoring!") false;
|
||||
}
|
||||
} else={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue