diff options
| author | Adam Vandenberg | 2014-03-01 23:19:36 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-03-01 23:19:36 -0800 |
| commit | 95d7776a905bb89d2bf98407dfab9d12f906d88b (patch) | |
| tree | a348846c74c1709845aa403c662ddca569aac007 /Library/Homebrew/cmd | |
| parent | 47f22d20afd9772cafde55ccca4fb1ffaea3251a (diff) | |
| download | brew-95d7776a905bb89d2bf98407dfab9d12f906d88b.tar.bz2 | |
add check for /Library Python
Closes Homebrew/homebrew#24788.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index ac2809cfc..2cd0cc4b9 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -948,6 +948,17 @@ def check_for_enthought_python end end +def check_for_library_python + if File.exist?("/Library/Frameworks/Python.framework") then <<-EOS.undent + A Python is installed in /Library/Frameworks + + Homebrew only supports building against the System-provided Python or a + brewed Python. In particular, Pythons installed to /Library can interfere + with other software installs. + EOS + end +end + def check_for_old_homebrew_share_python_in_path s = '' ['', '3'].map do |suffix| |
