From: | Sebastian Pipping <sping@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] Unnecessary logs: has_version to the rescue? | ||
Date: | Wed, 31 Mar 2010 20:37:23 | ||
Message-Id: | 4BB3B279.4060308@gentoo.org | ||
In Reply to: | Re: [gentoo-dev] Unnecessary logs: has_version to the rescue? by Zac Medico |
1 | On 03/31/10 22:31, Zac Medico wrote: |
2 | > For those who may not know, has_version can be called in pkg_preinst |
3 | > to find the previous version, and the result can be stored in a |
4 | > variable for us in pkg_postinst. |
5 | |
6 | So has_version takes the version just installed into account when called |
7 | from pkg_postinst? If so wouldn't be banning it's usage from that stage |
8 | a good idea? I just checked the code, no such check, yet. |
9 | |
10 | |
11 | |
12 | Sebastian |
Subject | Author |
---|---|
Re: [gentoo-dev] Unnecessary logs: has_version to the rescue? | Zac Medico <zmedico@g.o> |