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:
Christian Hesse 2021-06-02 23:54:35 +02:00
parent f9a2afdeda
commit b866eca3ec

View file

@ -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