diff options
| author | Jack Nagel | 2013-05-22 23:33:22 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-05-22 23:33:22 -0500 |
| commit | 42c02a894d196530b644ddefaa02a2d127f79bae (patch) | |
| tree | 5aca995127d8b2251609869b46664952b25ee96f | |
| parent | dd280cc0b19d60a24850ca22460eb8c921f3879d (diff) | |
| download | brew-42c02a894d196530b644ddefaa02a2d127f79bae.tar.bz2 | |
doctor: remove stale OS version check
Closes Homebrew/homebrew#19959.
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 0ba3ef999..c7d158a6d 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -1035,26 +1035,6 @@ def check_for_unlinked_but_not_keg_only end end -def check_os_version - if MACOS_FULL_VERSION =~ /^10\.6(\.|$)/ - unless (MACOS_FULL_VERSION == "10.6.8") - return <<-EOS.undent - Please update Snow Leopard. - 10.6.8 is the supported version of Snow Leopard. - You are still running #{MACOS_FULL_VERSION}. - EOS - end - elsif MACOS_FULL_VERSION =~ /^10\.5(\.|$)/ - unless (MACOS_FULL_VERSION == "10.5.8") - return <<-EOS.undent - Please update Leopard. - 10.5.8 is the supported version of Leopard. - You are still running #{MACOS_FULL_VERSION}. - EOS - end - end -end - def check_xcode_license_approved return if MacOS::Xcode.bad_xcode_select_path? # If the user installs Xcode-only, they have to approve the |
