On Thursday 25 August 2005 17:29, Brian Harring wrote:
> On Thu, Aug 25, 2005 at 01:41:00PM +0200, Paul de Vrieze wrote:
> > On Wednesday 24 August 2005 15:23, Martin Schlemmer wrote:
> > > Same thing (and probably better option) if you put it in pkg_setup()
> > > ...
> >
> > Isn't pkg_setup run too when just building a binary package (-B) (then
> > the check shouldn't be performed), and just before installing a binary
> > package?
>
> Yep, something that's rather unclean.
> Reinitializing the env for the local box I have no issue with, I just
> dislike re-running pkg_setup which also set's up vars for building.
>
> Alternatives welcome mind you...
> ~harring

Shouldn't pkg_preinst work? It should be run just before installation. The 
only thing is that the package is allready build before it's being tested.

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net

Attachment: pgplBCDHBSAiA.pgp
Description: PGP signature

Reply via email to