On Thursday, September 30, 2010 13:32:07 Zac Medico wrote: > The preserve_old_lib_notify message in postinst is invalid if the > package doesn't actually own the file. It would be safer to check > for the file in $D during preinst than to check in $ROOT in postinst > like that function does.
that isnt how it works. the libs being preserved specifically are not part of $D (not installed by src_install) and so there is no reference to check against in pkg_preinst. only $ROOT. > Also, if the openssl-0.9.8o-r2 gets pulled in later then it should > bail out due to a file collision, since it's not allows for two > different SLOTs to install the same file(s). if "by later" you mean "a different emerge at a later point in time", then the user did not read / follow his log, so end game there is PEBKAC -mike
signature.asc
Description: This is a digitally signed message part.
