mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
parent
7fa21a8f86
commit
96733eb791
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue