From 652e0982f08494b1b6ba7617c77c6c85f9f6719f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 11 Jun 2013 10:16:15 -0500 Subject: [PATCH] Add doctor check for OS X > 10.8 --- Library/Homebrew/cmd/doctor.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index a7b59d8510..4678905b54 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -243,6 +243,14 @@ def check_for_osx_gcc_installer end end +def check_for_unsupported_osx + if MacOS.version > 10.8 then <<-EOS.undent + You are using Mac OS X #{MacOS.version}. + We do not yet provide support for this (unreleased) version. + EOS + end +end + def check_for_stray_developer_directory # if the uninstaller script isn't there, it's a good guess neither are # any troublesome leftover Xcode files