fix: only warn of keg-only if would have been linked

This commit is contained in:
relikd
2025-09-10 01:17:08 +02:00
parent 8709725988
commit 56af2b7aef

View File

@@ -1901,7 +1901,7 @@ class InstallQueue:
vpkg.link(linkOpt=True, linkBin=False)
continue
if vpkg.isKegOnly:
if vpkg.isKegOnly and linkBin:
linkBin = False
Log.warn('keg-only, must link manually ({}, {})'.format(
pkg.name, vpkg.version), summary=True)