mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-16 13:04:30 +02:00
global-functions: $ScriptInstallUpdate: ignore empty scripts
Now that script-updates is gone we support installing new scripts with $ScriptInstallUpdate only.
This commit is contained in:
parent
04460debfc
commit
e33b4af433
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:foreach Script in=[ / system script find where source~"^#!rsc" or source="" ] do={
|
:foreach Script in=[ / system script find where source~"^#!rsc" ] do={
|
||||||
:local Ignore 0;
|
:local Ignore 0;
|
||||||
:local ScriptVal [ / system script get $Script ];
|
:local ScriptVal [ / system script get $Script ];
|
||||||
:local ScriptFile [ / file find where name=("script-updates/" . $ScriptVal->"name") ];
|
:local ScriptFile [ / file find where name=("script-updates/" . $ScriptVal->"name") ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue