mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-14 03:54:28 +02:00
global-functions: $DownloadPackage: support downloading bundle
This commit is contained in:
parent
59ba87d30e
commit
ce4d332f55
1 changed files with 1 additions and 1 deletions
|
@ -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) ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue