mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55: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:
@ -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") ];
|
||||||
|
Reference in New Issue
Block a user