mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Fixes Url building for Agent download
This commit is contained in:
parent
cdd1cf8189
commit
6e5b0ee218
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ function Get-IcingaAgentMSIPackage()
|
||||||
if ($SkipDownload -eq $FALSE) {
|
if ($SkipDownload -eq $FALSE) {
|
||||||
$DownloadPath = Join-Path $Env:TEMP -ChildPath $UsePackage;
|
$DownloadPath = Join-Path $Env:TEMP -ChildPath $UsePackage;
|
||||||
Write-Host ([string]::Format('Downloading Icinga 2 Agent installer "{0}" into temp directory "{1}"', $UsePackage, $DownloadPath));
|
Write-Host ([string]::Format('Downloading Icinga 2 Agent installer "{0}" into temp directory "{1}"', $UsePackage, $DownloadPath));
|
||||||
Invoke-WebRequest -Uri ([string]::Format('{0}/{1}', $Source, $UsePackage)) -OutFile $DownloadPath;
|
Invoke-WebRequest -Uri (Join-WebPath -Path $Source -ChildPath $UsePackage) -OutFile $DownloadPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
return @{
|
return @{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue