brews.sh: change HOMEBREW_MINIMUM_CURL_VERSION only for debian 7
I am not sure why we also checked for HOMEBREW_FORCE_HOMEBREW_ON_LINUX. If the minimum curl version needs to be changed, we should introduce specific env variables for each case that needs it, instead of asking for HOMEBREW_FORCE_HOMEBREW_ON_LINUX to be set too (which is not the case in the linuxbrew-core repo for example)
This commit is contained in:
parent
b18bbacced
commit
bc8613cbe8
@ -412,7 +412,7 @@ else
|
||||
|
||||
# This is set by the user environment.
|
||||
# shellcheck disable=SC2154
|
||||
if [[ -n "${HOMEBREW_FORCE_HOMEBREW_ON_LINUX}" && -n "${HOMEBREW_ON_DEBIAN7}" ]]
|
||||
if [[ -n "${HOMEBREW_ON_DEBIAN7}" ]]
|
||||
then
|
||||
# Special version for our debian 7 docker container used to build patchelf and binutils
|
||||
HOMEBREW_MINIMUM_CURL_VERSION="7.25.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user