We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76cab25 commit d34b496Copy full SHA for d34b496
lib/core/icingaagent/getters/Get-IcingaAgentMSIPackage.psm1
@@ -25,7 +25,6 @@ function Get-IcingaAgentMSIPackage()
25
26
foreach ($line in $Content) {
27
if ($line -like '*.msi*' -And $line -like "*$Architecture*") {
28
- #Write-Host '#####' $line
29
$MSIPackage = $line.SubString(
30
$line.IndexOf('Icinga2-'),
31
$line.IndexOf('.msi') - $line.IndexOf('Icinga2-')
@@ -43,7 +42,7 @@ function Get-IcingaAgentMSIPackage()
43
42
break;
44
}
45
} elseif ($Version -eq 'latest') {
46
- if ($line -like '*snapshot*') {
+ if ($line -like '*snapshot*' -Or $line -like '*-rc*') {
47
continue;
48
49
$UsePackage = $MSIPackage;
0 commit comments