mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
parent
7fa21a8f86
commit
96733eb791
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ function Get-IcingaAgentMSIPackage()
|
||||||
|
|
||||||
return @{
|
return @{
|
||||||
'InstallerPath' = $DownloadPath;
|
'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;
|
'LastUpdate' = $LastUpdate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue