doctor: extend curl warning

This commit is contained in:
Dominyk Tiller 2016-01-03 20:47:05 +00:00
parent 8183f75dda
commit 821dbab5f8

View File

@ -677,9 +677,10 @@ class Checks
end
def check_for_bad_curl
if MacOS.version <= "10.6" && !Formula["curl"].installed? then <<-EOS.undent
The system curl on 10.6 and below is often incapable of supporting
if MacOS.version <= "10.8" && !Formula["curl"].installed? then <<-EOS.undent
The system curl on 10.8 and below is often incapable of supporting
modern secure connections & will fail on fetching formulae.
We recommend you:
brew install curl
EOS