mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: $DownloadPackage: fix downloading for CHR / x86_64
This commit is contained in:
@@ -184,6 +184,9 @@
|
||||
:if ([ :len $PkgArch ] = 0) do={ :set PkgArch [ / system resource get architecture-name ]; }
|
||||
|
||||
:local PkgFile ($PkgName . "-" . $PkgVer . "-" . $PkgArch . ".npk");
|
||||
:if ($PkgArch = "x86_64") do={
|
||||
:set PkgFile ($PkgName . "-" . $PkgVer . ".npk");
|
||||
}
|
||||
:local PkgDest [ $CleanFilePath ($PkgDir . "/" . $PkgFile) ];
|
||||
|
||||
$CertificateAvailable "Let's Encrypt Authority X3";
|
||||
|
||||
Reference in New Issue
Block a user