aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/diagnostic.rb
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/diagnostic.rb
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/diagnostic.rb')
-rw-r--r--Library/Homebrew/diagnostic.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb
index 61f9b53a3..41deaf23e 100644
--- a/Library/Homebrew/diagnostic.rb
+++ b/Library/Homebrew/diagnostic.rb
@@ -1017,16 +1017,6 @@ module Homebrew
EOS
end
- def check_for_old_env_vars
- return unless ENV["HOMEBREW_KEEP_INFO"]
-
- <<~EOS
- `HOMEBREW_KEEP_INFO` is no longer used
- info files are no longer deleted by default; you may
- remove this environment variable.
- EOS
- end
-
def check_for_pth_support
homebrew_site_packages = Language::Python.homebrew_site_packages
return unless homebrew_site_packages.directory?