mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
packages-update: match on word boundary
This commit is contained in:
@@ -55,8 +55,7 @@ $ScriptLock $0;
|
||||
}
|
||||
|
||||
:local RunOrder ({});
|
||||
|
||||
:foreach Script in=[ /system/script/find where source~("\n# provides: backup-script, ") ] do={
|
||||
:foreach Script in=[ /system/script/find where source~("\n# provides: backup-script\\b") ] do={
|
||||
:local ScriptVal [ /system/script/get $Script ];
|
||||
:local Store [ $ParseKeyValueStore [ $Grep ($ScriptVal->"source") ("\23 provides: backup-script, ") ] ];
|
||||
|
||||
|
Reference in New Issue
Block a user