aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-11 10:16:15 -0500
committerJack Nagel2013-06-11 10:18:24 -0500
commit94736a8b1d7773da16f3f40538bb2c8233d84628 (patch)
tree18fd8b0b990e96c5d0799710117f094016299959 /Library
parent861aafdd485d7aee24a6c8f2c440f428b1647a85 (diff)
downloadhomebrew-94736a8b1d7773da16f3f40538bb2c8233d84628.tar.bz2
Add doctor check for OS X > 10.8
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index a7b59d851..4678905b5 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