Add flag to skip checksum if it fails

This commit is contained in:
Shivam Mathur 2019-11-27 22:23:42 +05:30
parent 4dba50d3af
commit 929f9cd52d
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -53,6 +53,7 @@ catch {
try { try {
Update-PhpCAInfo -Path $php_dir -Source Curl Update-PhpCAInfo -Path $php_dir -Source Curl
} catch { } catch {
Update-PhpCAInfo -Path $php_dir -Source Curl -SkipChecksumCheck
} }
} }
if ([Version]$installed.Version -ge '7.4') { if ([Version]$installed.Version -ge '7.4') {