Skip to content

Commit

Permalink
Fix URL building for Agent MSI packages
Browse files Browse the repository at this point in the history
Fixes #64
  • Loading branch information
LordHepipud committed Apr 28, 2020
1 parent 7fa21a8 commit 96733eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function Get-IcingaAgentMSIPackage()

return @{
'InstallerPath' = $DownloadPath;
'Version' = ($UsePackage).Replace('Icinga2-v', '').Replace($Architecture, '').Replace('.msi', '').Replace('-', '');
'Version' = ($UsePackage).Replace('Icinga2-v', '').Replace([string]::Format('-{0}.msi', $Architecture), '')
'LastUpdate' = $LastUpdate;
}
}

0 comments on commit 96733eb

Please sign in to comment.