aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/os/mac
diff options
context:
space:
mode:
authorMike McQuaid2017-12-08 16:33:33 +0000
committerMike McQuaid2017-12-08 16:33:33 +0000
commit6b9ca5dbf5b625f1da93b82f5752b37ee0c61600 (patch)
tree7e81b0ea7b042f9061b3b47ee241507eded3950b /Library/Homebrew/extend/os/mac
parentf52d69abea388902346cf839fda0ab4a4d11618a (diff)
downloadbrew-6b9ca5dbf5b625f1da93b82f5752b37ee0c61600.tar.bz2
Remove some unset/checked environment checks
These will be redundant once environment filtering is on by default in #3529.
Diffstat (limited to 'Library/Homebrew/extend/os/mac')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index f86155f2e..bb89b2367 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -262,19 +262,6 @@ module Homebrew
EOS
end
- def check_for_unsupported_curl_vars
- # Support for SSL_CERT_DIR seemed to be removed in the 10.10.5 update.
- return unless MacOS.version >= :yosemite
- return if ENV["SSL_CERT_DIR"].nil?
-
- <<~EOS
- SSL_CERT_DIR support was removed from Apple's curl.
- If fetching formulae fails you should:
- unset SSL_CERT_DIR
- and remove it from #{Utils::Shell.profile} if present.
- EOS
- end
-
def check_xcode_license_approved
# If the user installs Xcode-only, they have to approve the
# license or no "xc*" tool will work.