On Freitag, 13. Juni 2008, Santiago M. Mola wrote:
> Hi all,
>
> As discussed in bug #222721, portage has changed the execution order
> of phases. It seems the change was introduced in portage-2.1.5 and it
> makes that, when upgrading a package, pkg_postinst is run after the
> old version has been removed. This breaks packages which use
> has_version in pkg_postinst to detect upgrades/downgrades. It can also
> break packages in more subtle ways.
>

So someone that has access permissions here: Please do fix the devmanual 
http://devmanual.gentoo.org/ebuild-writing/functions/pkg_postinst/index.html


It now states:

Common pkg_postinst Tasks
 The most common use for pkg_postinst is to display post-install informational 
messages or warnings. Note that has_version will operate on the version that 
was installed, which can be useful for selective upgrade messages.

Regards
Matthias
-- 
[email protected] mailing list

Reply via email to