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 {
Update-PhpCAInfo -Path $php_dir -Source Curl
} catch {
Update-PhpCAInfo -Path $php_dir -Source Curl -SkipChecksumCheck
}
}
if ([Version]$installed.Version -ge '7.4') {