From 6b9ca5dbf5b625f1da93b82f5752b37ee0c61600 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 8 Dec 2017 16:33:33 +0000 Subject: Remove some unset/checked environment checks These will be redundant once environment filtering is on by default in #3529. --- Library/Homebrew/extend/os/mac/diagnostic.rb | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'Library/Homebrew/extend') 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. -- cgit v1.2.3