aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-07-30 16:16:51 +0100
committerGitHub2017-07-30 16:16:51 +0100
commit05956781a27f754905084215ef8270d3f3d26fab (patch)
tree89f05026abfd105a57329c4ff96a9054e34490d8
parentb3a96af069e28fec619246a3e2cd9defd2d077b4 (diff)
parent0a10ca61dc6d626bfe72b3a4e5501ebb6ad15a81 (diff)
downloadbrew-05956781a27f754905084215ef8270d3f3d26fab.tar.bz2
Merge pull request #2973 from DomT4/keg_only_additions
formula_support: add provided_pre_high_sierra keg_only
-rw-r--r--Library/Homebrew/formula_support.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index a4534291a..2c9c19187 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -19,6 +19,8 @@ class KegOnlyReason
MacOS.version < :mavericks
when :provided_pre_el_capitan
MacOS.version < :el_capitan
+ when :provided_pre_high_sierra
+ MacOS.version < :high_sierra
when :provided_until_xcode43
MacOS::Xcode.installed? && MacOS::Xcode.version < "4.3"
when :provided_until_xcode5
@@ -51,6 +53,9 @@ class KegOnlyReason
when :provided_pre_el_capitan then <<-EOS.undent
macOS already provides this software in versions before El Capitan
EOS
+ when :provided_pre_high_sierra then <<-EOS.undent
+ macOS already provides this software in versions before High Sierra
+ EOS
when :provided_until_xcode43 then <<-EOS.undent
Xcode provides this software prior to version 4.3
EOS