diff --git a/Install.ps1 b/Install.ps1 index 0eac32c..bbe39bb 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -813,8 +813,6 @@ function downloadScripts($param1) { } try { if ($param1 -eq "Desktop" -and $curl_check) { - $stcode = curl.exe -I -s $web_Url - if (!($stcode -match "200 OK")) { throw ($lang).Download6 } curl.exe $web_Url -o $local_Url --progress-bar --retry 3 --ssl-no-revoke } if ($param1 -eq "Desktop" -and $null -ne (Get-Module -Name BitsTransfer -ListAvailable) -and !($curl_check )) { @@ -839,8 +837,6 @@ function downloadScripts($param1) { try { if ($param1 -eq "Desktop" -and $curl_check) { - $stcode = curl.exe -I -s $web_Url - if (!($stcode -match "200 OK")) { throw ($lang).Download6 } curl.exe $web_Url -o $local_Url --progress-bar --retry 3 --ssl-no-revoke } if ($param1 -eq "Desktop" -and $null -ne (Get-Module -Name BitsTransfer -ListAvailable) -and !($curl_check )) {