aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_support.rb
diff options
context:
space:
mode:
authorDominyk Tiller2015-09-08 15:27:58 +0100
committerDominyk Tiller2015-09-08 15:28:22 +0100
commit48ba192a3bac609c1bdd7355d4749d624b973c46 (patch)
tree4ec448d640105530c6b39f858945bf5ef475fade /Library/Homebrew/formula_support.rb
parent837437416840d4c4f132b7e4ba2ea0fa2f861668 (diff)
downloadbrew-48ba192a3bac609c1bdd7355d4749d624b973c46.tar.bz2
formula_support: add Pre El Capitan keg_only
Diffstat (limited to 'Library/Homebrew/formula_support.rb')
-rw-r--r--Library/Homebrew/formula_support.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index d3e0a6bda..2430c31b0 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
@@ -35,11 +37,14 @@ 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."