diff options
| author | Jack Nagel | 2012-03-21 12:47:25 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-03-21 12:47:51 -0500 |
| commit | 0e9eb9e17e64d47f00c3a588eeab569bf0888085 (patch) | |
| tree | 1dc15b56820f36ff3c4ac7f08645fc15cc4c3c3d /Library | |
| parent | 1e2b7e9c9bf5a3fdfb33de133f6707157c2e28f1 (diff) | |
| download | homebrew-0e9eb9e17e64d47f00c3a588eeab569bf0888085.tar.bz2 | |
Update missing Xcode advice
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index caa9d3191..0362b0d2f 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -182,10 +182,18 @@ def check_for_broken_symlinks end def check_for_latest_xcode - if MacOS.xcode_version.nil? then return <<-EOS.undent - We couldn't detect any version of Xcode. - If you downloaded Xcode from the App Store, you may need to run the installer. - EOS + if MacOS.xcode_version.nil? + if MacOS.version >= 10.7 then return <<-EOS.undent + We couldn't detect any version of Xcode. + The latest Xcode can be obtained from the Mac App Store. + Alternatively, the Command Line Tools package can be obtained from + http://connect.apple.com + EOS + else return <<-EOS.undent + We couldn't detect any version of Xcode. + The latest Xcode can be obtained from http://connect.apple.com + EOS + end end latest_xcode = case MacOS.version |
