mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-14 20:14:29 +02:00
script-updates: also consider scripts with empty source for update
This commit is contained in:
parent
f3e2fb654b
commit
8020955b3b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
:global LogPrintExit;
|
||||
:global SendNotification;
|
||||
|
||||
:foreach Script in=[ / system script find where source~"^#!rsc" ] do={
|
||||
:foreach Script in=[ / system script find where source~"^#!rsc" or source="" ] do={
|
||||
:local Ignore 0;
|
||||
:local ScriptVal [ / system script get $Script ];
|
||||
:local ScriptFile [ / file find where name=("script-updates/" . $ScriptVal->"name") ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue