fix: only warn of keg-only if would have been linked
This commit is contained in:
2
brew.py
2
brew.py
@@ -1901,7 +1901,7 @@ class InstallQueue:
|
|||||||
vpkg.link(linkOpt=True, linkBin=False)
|
vpkg.link(linkOpt=True, linkBin=False)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if vpkg.isKegOnly:
|
if vpkg.isKegOnly and linkBin:
|
||||||
linkBin = False
|
linkBin = False
|
||||||
Log.warn('keg-only, must link manually ({}, {})'.format(
|
Log.warn('keg-only, must link manually ({}, {})'.format(
|
||||||
pkg.name, vpkg.version), summary=True)
|
pkg.name, vpkg.version), summary=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user