From 48ba192a3bac609c1bdd7355d4749d624b973c46 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Tue, 8 Sep 2015 15:27:58 +0100 Subject: [PATCH] formula_support: add Pre El Capitan keg_only --- Library/Homebrew/formula_support.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb index d3e0a6bda2..2430c31b09 100644 --- a/Library/Homebrew/formula_support.rb +++ b/Library/Homebrew/formula_support.rb @@ -15,6 +15,8 @@ class KegOnlyReason MacOS.version < :mountain_lion when :provided_pre_mavericks MacOS.version < :mavericks + when :provided_pre_el_capitan + MacOS.version < :el_capitan when :provided_until_xcode43 MacOS::Xcode.version < "4.3" when :provided_until_xcode5 @@ -34,12 +36,15 @@ EOS when :shadowed_by_osx then <<-EOS OS X provides similar software and installing this software in parallel can cause all kinds of trouble. +EOS + when :provided_pre_mountain_lion then <<-EOS +OS X already provides this software in versions before Mountain Lion. EOS when :provided_pre_mavericks then <<-EOS OS X already provides this software in versions before Mavericks. EOS - when :provided_pre_mountain_lion then <<-EOS -OS X already provides this software in versions before Mountain Lion. + when :provided_pre_el_capitan then <<-EOS +OS X already provides this software in versions before El Capitan. EOS when :provided_until_xcode43 "Xcode provides this software prior to version 4.3."