From b7067a4678ca89f8ec401fa2adca095f7d848131 Mon Sep 17 00:00:00 2001 From: Sebastian Miclea Date: Mon, 13 May 2019 14:03:27 +0300 Subject: [PATCH] (maint) Changes to windows public release package links --- tasks/install_powershell.ps1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tasks/install_powershell.ps1 b/tasks/install_powershell.ps1 index f7c0a7aa8..145104c65 100644 --- a/tasks/install_powershell.ps1 +++ b/tasks/install_powershell.ps1 @@ -30,7 +30,12 @@ else { $msi_name = "puppet-agent-${arch}-latest.msi" } -$msi_source = "$windows_source/windows/${collection}/${msi_name}" +if ($collection) { + $msi_source = "$windows_source/windows/${collection}/${msi_name}" +} +else { + $msi_source = "$windows_source/windows/${msi_name}" +} $date_time_stamp = (Get-Date -format s) -replace ':', '-' $msi_dest = Join-Path ([System.IO.Path]::GetTempPath()) "puppet-agent-$arch.msi"