From 467b429bd95d08ee154ef874632751b533299210 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 1 Aug 2024 01:22:23 +0200 Subject: [PATCH] Fix syntax error --- scripts/Windows/OS/Install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 17bc2e4e..9794a09c 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -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