aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/brew.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/brew.sh')
-rw-r--r--Library/Homebrew/brew.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh
index 61d85ddd2..77a60dfc7 100644
--- a/Library/Homebrew/brew.sh
+++ b/Library/Homebrew/brew.sh
@@ -96,6 +96,14 @@ then
HOMEBREW_FORCE_BREWED_CURL="1"
fi
+ # The system Git is too old for some GitHub's SSL ciphers on older
+ # macOS versions.
+ # https://github.com/blog/2507-weak-cryptographic-standards-removed
+ if [[ "$HOMEBREW_MACOS_VERSION_NUMERIC" -lt "100900" ]]
+ then
+ HOMEBREW_SYSTEM_GIT_TOO_OLD="1"
+ fi
+
if [[ -z "$HOMEBREW_CACHE" ]]
then
HOMEBREW_CACHE="$HOME/Library/Caches/Homebrew"