mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-06 11:15:02 +02:00
capsman-download-packages: avaiable packages only...
... as things became more complicated with 'wifi-qcom*'.
This commit is contained in:
parent
5aaa24b507
commit
0377064f65
3 changed files with 7 additions and 3 deletions
|
@ -56,7 +56,9 @@ $WaitFullyConnected;
|
|||
:if ([ :len [ /file/find where type=package name~("^" . $PackagePath) ] ] = 0) do={
|
||||
$LogPrintExit2 info $0 ("No packages available, downloading default set.") false;
|
||||
:foreach Arch in={ "arm"; "arm64" } do={
|
||||
:foreach Package in={ "routeros"; "wifi-qcom"; "wifi-qcom-ac" } do={
|
||||
:local Packages { "arm"={ "routeros"; "wifi-qcom"; "wifi-qcom-ac" };
|
||||
"arm64"={ "routeros"; "wifi-qcom" } };
|
||||
:foreach Package in=($Packages->$Arch) do={
|
||||
:if ([ $DownloadPackage $Package $InstalledVersion $Arch $PackagePath ] = true) do={
|
||||
:set Updated true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue