mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00: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…
Reference in a new issue