mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 10:04:19 +02:00
packages-update: match on word boundary
This commit is contained in:
parent
5d80b63f36
commit
8b8bc7cf2d
|
@ -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, ") ] ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue