On Wed, 31 Mar 2010 22:08:40 +0200 Sebastian Pipping <sp...@gentoo.org> wrote: > Is there some kind of evilness in this usage of has_version that I am > not aware of?
Unfortunately, yes. Historically, has_version in pkg_postinst would return results based upon the version that *was* installed. This feature was widely used to display context-aware post-install messages, and there were examples of it in the documentation. Portage then silently changed this behaviour, without an EAPI bump and without changing the documentation, breaking all those packages in the process. The resulting mess discouraged many people from bothering with that kind of thing... -- Ciaran McCreesh
signature.asc
Description: PGP signature