From 81cba72bec1b81dc636499926102d226a5ffad54 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 9 Jul 2021 12:06:40 +0200 Subject: global-functions: $ScriptInstallUpdate: drop the migration pattern --- global-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global-functions b/global-functions index 0a031ba..4ee8897 100644 --- a/global-functions +++ b/global-functions @@ -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; -- cgit v1.2.3-54-g00ecf