mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-06-21 01:25:52 +02:00
packages-update: ignore available packages
This was introduced with RouterOS 7.18beta2 to list and install available
packages. We do not want to install all of them. 😝
This commit is contained in:
parent
dafd95d44a
commit
dbdc3e4718
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
:foreach Package in=[ /system/package/find where !bundle ] do={
|
||||
:foreach Package in=[ /system/package/find where !bundle !available ] do={
|
||||
:local PkgName [ /system/package/get $Package name ];
|
||||
:if ([ $DownloadPackage $PkgName ($Update->"latest-version") ] = false) do={
|
||||
$LogPrint error $ScriptName ("Download for package " . $PkgName . " failed, update aborted.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue