On Tue, 21 Aug 2012 15:50:58 +0200 Amadeusz Żołnowski <[email protected]> wrote: > > It's thus much better to use REPLACING_VERSIONS (which is plural, > > and this is important) rather than has_version, if you're asking > > about the current package rather than another package. > > Right. Thanks. REPLACING_VERSIONS and REPLACED_BY_VERSION is much > better, but for older EAPIs couldn't one set it manually with help of > has_version in pkg_setup and check that var later in postinst?.
One could, but one probably shouldn't, unless one is familiar with the exact rules for env saving with binary packages... We added REPLACING_VERSIONS to make this kind of thing easy. -- Ciaran McCreesh
signature.asc
Description: PGP signature
