On Wednesday, January 19, 2011 12:18:24 Michał Górny wrote:
> On Wed, 19 Jan 2011 16:38:10 +0000 Alec Warner wrote:
> > On Wed, Jan 19, 2011 at 3:47 PM, Michał Górny wrote:
> > > On Wed, 19 Jan 2011 16:25:03 +0100 Paweł Hajdan, Jr. wrote:
> > >> "If enewuser or enewgroup is called from outside of pkg_setup,
> > >> fail"
> > > 
> > > It is useful sometimes to call it in pkg_postinst(), if the
> > > user/group is needed at runtime and not during install-time.
> > 
> > What difference is there if you run it during setup vs postinst?
> 
> If the build fails or user aborts the merge, his/her system
> is not junked with an unnecessary account/group.

this is why we allow people to pick the appropriate step.  ebuilds should be 
using pkg_{pre,post}inst unless the user/group is needed at src_* time.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to