mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-14 03:54:28 +02:00
global-functions: $DownloadPackage: fix downloading for CHR / x86_64
This commit is contained in:
parent
1e075d8d64
commit
229dc539cc
1 changed files with 3 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue