global-functions: $ScriptInstallUpdate: drop the migration pattern

This commit is contained in:
Christian Hesse 2021-07-09 12:06:40 +02:00
parent d80a7efb7c
commit 81cba72bec
1 changed files with 1 additions and 1 deletions

View File

@ -734,7 +734,7 @@
:local ReloadGlobalFunctions false;
:local ReloadGlobalConfig false;
:foreach Script in=[ / system script find where source~"^#!rsc( by RouterOS)\?\n" ] do={
:foreach Script in=[ / system script find where source~"^#!rsc by RouterOS\n" ] do={
:local ScriptVal [ / system script get $Script ];
:local ScriptFile [ / file find where name=("script-updates/" . $ScriptVal->"name") ];
:local SourceNew;