diff options
author | Christian Hesse <mail@eworm.de> | 2019-07-19 15:37:01 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2019-07-19 15:37:01 +0200 |
commit | 229dc539cc70fd156d8d69af370ae67d4bdb18a0 (patch) | |
tree | be0b23c39334f497d203a2becd057bb9225f5284 /global-functions | |
parent | 1e075d8d64f393982722d17c5a44271a0f2858ad (diff) |
global-functions: $DownloadPackage: fix downloading for CHR / x86_64
Diffstat (limited to 'global-functions')
-rw-r--r-- | global-functions | 3 |
1 files changed, 3 insertions, 0 deletions
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"; |