Fix stripping of keg-only reasons
This commit is contained in:
parent
7e2411eb4d
commit
0818189b5d
@ -65,14 +65,14 @@ class KegOnlyReason
|
||||
|
||||
def to_s
|
||||
if @reason == :provided_by_osx
|
||||
<<-EOS.chomp
|
||||
<<-EOS.strip
|
||||
Mac OS X already provides this program and installing another version in
|
||||
parallel can cause all kinds of trouble.
|
||||
|
||||
#{@explanation}
|
||||
EOS
|
||||
else
|
||||
@reason
|
||||
@reason.strip
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@ -5,7 +5,7 @@ def text_for_keg_only_formula f
|
||||
<<-EOS
|
||||
This formula is keg-only, so it was not symlinked into #{HOMEBREW_PREFIX}.
|
||||
|
||||
#{f.keg_only?.strip}
|
||||
#{f.keg_only?}
|
||||
|
||||
Generally there are no consequences of this for you.
|
||||
If you build your own software and it requires this formula, you'll need
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user