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