mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: $DownloadPackage: support downloading bundle
This commit is contained in:
@@ -235,7 +235,7 @@
|
||||
:if ([ :len $PkgArch ] = 0) do={ :set PkgArch [ / system resource get architecture-name ]; }
|
||||
|
||||
:local PkgFile ($PkgName . "-" . $PkgVer . "-" . $PkgArch . ".npk");
|
||||
:if ($PkgArch = "x86_64") do={
|
||||
:if ($PkgArch = "x86_64" || $PkgName ~ "^routeros-") do={
|
||||
:set PkgFile ($PkgName . "-" . $PkgVer . ".npk");
|
||||
}
|
||||
:local PkgDest [ $CleanFilePath ($PkgDir . "/" . $PkgFile) ];
|
||||
|
Reference in New Issue
Block a user