1 |
On Tue, 21 Aug 2012 15:50:58 +0200 |
2 |
Amadeusz Żołnowski <aidecoe@g.o> wrote: |
3 |
> > It's thus much better to use REPLACING_VERSIONS (which is plural, |
4 |
> > and this is important) rather than has_version, if you're asking |
5 |
> > about the current package rather than another package. |
6 |
> |
7 |
> Right. Thanks. REPLACING_VERSIONS and REPLACED_BY_VERSION is much |
8 |
> better, but for older EAPIs couldn't one set it manually with help of |
9 |
> has_version in pkg_setup and check that var later in postinst?. |
10 |
|
11 |
One could, but one probably shouldn't, unless one is familiar with |
12 |
the exact rules for env saving with binary packages... We added |
13 |
REPLACING_VERSIONS to make this kind of thing easy. |
14 |
|
15 |
-- |
16 |
Ciaran McCreesh |