Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Sebastian Pipping <sping@g.o>
Subject: Re: Unnecessary logs: has_version to the rescue?
Date: Wed, 31 Mar 2010 22:37:13 +0200
On 03/31/10 22:31, Zac Medico wrote:
> For those who may not know, has_version can be called in pkg_preinst
> to find the previous version, and the result can be stored in a
> variable for us in pkg_postinst.

So has_version takes the version just installed into account when called
from pkg_postinst?  If so wouldn't be banning it's usage from that stage
a good idea?  I just checked the code, no such check, yet.



Sebastian


Replies:
Re: Unnecessary logs: has_version to the rescue?
-- Zac Medico
References:
Unnecessary logs: has_version to the rescue?
-- Sebastian Pipping
Re: Unnecessary logs: has_version to the rescue?
-- Ciaran McCreesh
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Unnecessary logs: has_version to the rescue?
Next by thread:
Re: Unnecessary logs: has_version to the rescue?
Previous by date:
Re: Unnecessary logs: has_version to the rescue?
Next by date:
Re: Unnecessary logs: has_version to the rescue?


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.