Merge pull request #2863 from mistydemeo/formula_keg_only_boolean
Formula#keg_only should be a boolean
This commit is contained in:
commit
1406f89ac5
@ -1008,7 +1008,8 @@ class Formula
|
||||
# rarely, you don't want your library symlinked into the main prefix
|
||||
# see gettext.rb for an example
|
||||
def keg_only?
|
||||
keg_only_reason && keg_only_reason.valid?
|
||||
return false unless keg_only_reason
|
||||
keg_only_reason.valid?
|
||||
end
|
||||
|
||||
# @private
|
||||
|
Loading…
x
Reference in New Issue
Block a user