brew.sh: don't mention HOMEBREW_DEVELOPER

This commit is contained in:
Maxim Belkin 2020-11-24 20:51:49 -06:00
parent 7c4b1841bc
commit 2b6c1e220d
No known key found for this signature in database
GPG Key ID: AC71560D4C5F2338

View File

@ -350,13 +350,10 @@ else
curl_name_and_version="${curl_version_output%% (*}"
if [[ $(numeric "${curl_name_and_version##* }") -lt $(numeric "$HOMEBREW_MINIMUM_CURL_VERSION") ]]
then
message="Your cURL version is too old.
Minimum required version: ${HOMEBREW_MINIMUM_CURL_VERSION}
message="Please update your system cURL.
Minimum required version: ${HOMEBREW_MINIMUM_CURL_VERSION}.
Your cURL version: ${curl_name_and_version##* }
Your cURL executable: $(type -p $HOMEBREW_CURL)
To point Homebrew to cURL ${HOMEBREW_MINIMUM_CURL_VERSION} or newer,
enable developer mode by setting HOMEBREW_DEVELOPER to 1,
then set HOMEBREW_CURL_PATH to the location of cURL executable."
Your cURL executable: $(type -p $HOMEBREW_CURL)"
if [[ -z $HOMEBREW_CURL_PATH || -z $HOMEBREW_DEVELOPER ]]; then
HOMEBREW_SYSTEM_CURL_TOO_OLD=1