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
commit652e0982f08494b1b6ba7617c77c6c85f9f6719f (patch)
treeb9dbedaee1fda2c52817266f0a0192de3769e7f2 /Library
parentef054a2d029199a1a67c45c7e44ee82f0f6a828c (diff)
downloadbrew-652e0982f08494b1b6ba7617c77c6c85f9f6719f.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