aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-22 14:52:17 -0800
committerAdam Vandenberg2014-02-23 08:31:03 -0800
commit028b8087b2c615809e3edd723ef50b9f5cc9ffa8 (patch)
treea4eaa2537221e6857b88f4287b5dc44ab7b05cfd /Library/Homebrew
parentfe0c9804c094666961c1a4922694e9c55ae9c412 (diff)
downloadhomebrew-028b8087b2c615809e3edd723ef50b9f5cc9ffa8.tar.bz2
add doctor check for HOMEBREW_KEEP_INFO
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/doctor.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index cf691c7f9..71fd62e9c 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -1085,6 +1085,16 @@ end
https://xquartz.macosforge.org
EOS
end
+
+ def check_for_old_env_vars
+ if ENV["HOMEBREW_KEEP_INFO"]
+ <<-EOS.undent
+ `HOMEBREW_KEEP_INFO` is no longer used
+ info files are no longer deleted by default; you may
+ remove this environment variable.
+ EOS
+ end
+ end
end # end class Checks
module Homebrew extend self