Gentoo Archives: gentoo-dev

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:52:56
Message-Id: 4BB3B612.9090606@gentoo.org
In Reply to: Re: [gentoo-dev] Unnecessary logs: has_version to the rescue? by Zac Medico
1 On 03/31/10 22:42, Zac Medico wrote:
2 > Well, it works fine when not called for the same $CATEGORY/$PN, and
3 > even for the same $CATEGORY/$PN it works fine for other slots it
4 > they happen to be installed.
5
6 Good point. So the check would be:
7
8 Deny calling has_version if all of:
9 - in postinst stage
10 - same category and package
11 - same slot
12
13 How about that?
14
15
16
17 Sebastian

Replies

Subject Author
Re: [gentoo-dev] Unnecessary logs: has_version to the rescue? Zac Medico <zmedico@g.o>