diff options
| author | Max Howell | 2009-10-12 20:48:00 +0100 |
|---|---|---|
| committer | Max Howell | 2009-10-12 22:41:16 +0100 |
| commit | 1831eb28796301acfd0dc0c1c3516d379967e734 (patch) | |
| tree | abeed0e528cc8906f35ded086c8ee4224487e32f /Library | |
| parent | f484738ee1272832eded8b10f576f5bd79d89f8a (diff) | |
| download | homebrew-1831eb28796301acfd0dc0c1c3516d379967e734.tar.bz2 | |
Introduce :provided_by_osx for keg_only?
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/install.rb | 4 |
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." |
