From ce4d332f55d1b4003a71e142b0ce23a41ad68540 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 4 May 2020 09:21:23 +0200 Subject: global-functions: $DownloadPackage: support downloading bundle --- global-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global-functions b/global-functions index 48e743f..5f903d0 100644 --- a/global-functions +++ b/global-functions @@ -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) ]; -- cgit v1.2.3-54-g00ecf