mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-10 18:14:27 +02:00
packages-update: match on word boundary
This commit is contained in:
parent
5d80b63f36
commit
8b8bc7cf2d
1 changed files with 1 additions and 2 deletions
|
@ -55,8 +55,7 @@ $ScriptLock $0;
|
||||||
}
|
}
|
||||||
|
|
||||||
:local RunOrder ({});
|
:local RunOrder ({});
|
||||||
|
:foreach Script in=[ /system/script/find where source~("\n# provides: backup-script\\b") ] do={
|
||||||
:foreach Script in=[ /system/script/find where source~("\n# provides: backup-script, ") ] do={
|
|
||||||
:local ScriptVal [ /system/script/get $Script ];
|
:local ScriptVal [ /system/script/get $Script ];
|
||||||
:local Store [ $ParseKeyValueStore [ $Grep ($ScriptVal->"source") ("\23 provides: backup-script, ") ] ];
|
:local Store [ $ParseKeyValueStore [ $Grep ($ScriptVal->"source") ("\23 provides: backup-script, ") ] ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue