Merge pull request #12173 from Bo98/update-cacert-fail

cmd/update.sh: don't absorb ca-certificates installation failure
This commit is contained in:
Bo Anderson 2021-10-04 16:35:45 +01:00 committed by GitHub
commit 04715c8109
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -389,7 +389,7 @@ EOS
# we cannot install Homebrew CA certificates if homebrew/core is unavailable.
if [[ -d "${HOMEBREW_LIBRARY}/Taps/homebrew/homebrew-core" || -n "${HOMEBREW_INSTALL_FROM_API}" ]]
then
brew install ca-certificates || true
brew install ca-certificates
fi
fi