From fab3c239f6a489cfa513a85afae601ee6a51f512 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 577c7ebe..dea1ee9e 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -33,7 +33,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