mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $ScriptInstallUpdate: drop the re-run message
This makes sense just rarely... For important changes we have the migration mechanism. So just drop this.
This commit is contained in:
parent
f9a2afdeda
commit
b866eca3ec
|
@ -711,7 +711,6 @@
|
|||
:local ExpectedConfigVersionBefore $ExpectedConfigVersion;
|
||||
:local ReloadGlobalFunctions false;
|
||||
:local ReloadGlobalConfig false;
|
||||
:local ScriptInstallUpdateBefore [ :tostr $ScriptInstallUpdate ];
|
||||
|
||||
:foreach Script in=[ / system script find where source~"^#!rsc( by RouterOS)\?\n" ] do={
|
||||
:local ScriptVal [ / system script get $Script ];
|
||||
|
@ -879,10 +878,6 @@
|
|||
:set GlobalConfigChanges;
|
||||
:set GlobalConfigMigration;
|
||||
}
|
||||
|
||||
:if ($ScriptInstallUpdateBefore != [ :tostr $ScriptInstallUpdate ]) do={
|
||||
$LogPrintExit2 info $0 ("This function changed, you may want to re-run.") false;
|
||||
}
|
||||
}
|
||||
|
||||
# lock script against multiple invocation
|
||||
|
|
Loading…
Reference in a new issue