From 0a10ca61dc6d626bfe72b3a4e5501ebb6ad15a81 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Sun, 30 Jul 2017 00:21:33 +0100 Subject: [PATCH] formula_support: add provided_pre_high_sierra keg_only --- Library/Homebrew/formula_support.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb index a4534291a2..2c9c19187a 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