Merge pull request #7337 from difelice/patch-1
Fix KegOnlyReason property access.
This commit is contained in:
commit
9e4dfaf726
@ -68,7 +68,7 @@ module Homebrew
|
||||
if keg_only
|
||||
if Homebrew.default_prefix?
|
||||
f = keg.to_formula
|
||||
if f.keg_only_reason.reason.by_macos?
|
||||
if f.keg_only_reason.by_macos?
|
||||
caveats = Caveats.new(f)
|
||||
opoo <<~EOS
|
||||
Refusing to link macOS provided/shadowed software: #{keg.name}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user