1 |
On 03/31/2010 01:37 PM, Sebastian Pipping wrote: |
2 |
> On 03/31/10 22:31, Zac Medico wrote: |
3 |
>> For those who may not know, has_version can be called in pkg_preinst |
4 |
>> to find the previous version, and the result can be stored in a |
5 |
>> variable for us in pkg_postinst. |
6 |
> |
7 |
> So has_version takes the version just installed into account when called |
8 |
> from pkg_postinst? If so wouldn't be banning it's usage from that stage |
9 |
> a good idea? I just checked the code, no such check, yet. |
10 |
|
11 |
Well, it works fine when not called for the same $CATEGORY/$PN, and |
12 |
even for the same $CATEGORY/$PN it works fine for other slots it |
13 |
they happen to be installed. |
14 |
-- |
15 |
Thanks, |
16 |
Zac |