1 |
On Wed, 31 Mar 2010 22:08:40 +0200 |
2 |
Sebastian Pipping <sping@g.o> wrote: |
3 |
> Is there some kind of evilness in this usage of has_version that I am |
4 |
> not aware of? |
5 |
|
6 |
Unfortunately, yes. |
7 |
|
8 |
Historically, has_version in pkg_postinst would return results based |
9 |
upon the version that *was* installed. This feature was widely used to |
10 |
display context-aware post-install messages, and there were examples of |
11 |
it in the documentation. Portage then silently changed this behaviour, |
12 |
without an EAPI bump and without changing the documentation, breaking |
13 |
all those packages in the process. The resulting mess discouraged many |
14 |
people from bothering with that kind of thing... |
15 |
|
16 |
-- |
17 |
Ciaran McCreesh |