diff options
author | Christian Hesse <mail@eworm.de> | 2020-05-04 09:21:23 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-05-04 09:21:23 +0200 |
commit | ce4d332f55d1b4003a71e142b0ce23a41ad68540 (patch) | |
tree | adcf6eed071b11f87a13cc576bc7e913b384d106 /global-functions | |
parent | 59ba87d30edf9d691ae8716b91a97eea3ebf7f48 (diff) |
global-functions: $DownloadPackage: support downloading bundle
Diffstat (limited to 'global-functions')
-rw-r--r-- | global-functions | 2 |
1 files changed, 1 insertions, 1 deletions
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) ]; |