Fix syntax error

This commit is contained in:
Manuel Thalmann 2024-08-01 01:22:23 +02:00
parent 54b8d227ff
commit e67122b20b

View file

@ -32,7 +32,7 @@ function Start-InstallationLoop {
if (-not (Get-Stage)) {
Set-Stage [SetupStage]::Initialize;
break;
} elseif (Get-Stage -eq [SetupStage]::Initialize) {
} elseif ((Get-Stage) -eq ([SetupStage]::Initialize)) {
if (-not ((Get-Command "choco") -and (Get-Command "refreshenv"))) {
Invoke-Hook "Install-Chocolatey" -Fallback {
# Install chocolatey