On Wed, 19 Jan 2011 16:38:10 +0000
Alec Warner <[email protected]> wrote:

> On Wed, Jan 19, 2011 at 3:47 PM, Michał Górny <[email protected]>
> wrote:
> > On Wed, 19 Jan 2011 16:25:03 +0100
> > "Paweł Hajdan, Jr." <[email protected]> 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.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to