aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/install.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb
index fc7cfc0ee..75a63ac32 100755
--- a/Library/Homebrew/install.rb
+++ b/Library/Homebrew/install.rb
@@ -7,7 +7,9 @@ require 'brew.h'
show_summary_heading = false
def text_for_keg_only_formula f
- if f.keg_only?.kind_of? String
+ if f.keg_only? == :provided_by_osx
+ rationale = "This because the formula is already provided by OS X."
+ elsif f.keg_only?.kind_of? String
rationale = "The formula provides the following rationale:\n\n#{f.keg_only?.chomp}"
else
rationale = "The formula didn't provide any rationale for this."