From 229dc539cc70fd156d8d69af370ae67d4bdb18a0 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 19 Jul 2019 15:37:01 +0200 Subject: global-functions: $DownloadPackage: fix downloading for CHR / x86_64 --- global-functions | 3 +++ 1 file changed, 3 insertions(+) diff --git a/global-functions b/global-functions index b0e4eb3..fb30680 100644 --- a/global-functions +++ b/global-functions @@ -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"; -- cgit v1.2.3-54-g00ecf