1 |
On Wed, 19 Jan 2011 16:38:10 +0000 |
2 |
Alec Warner <antarus@g.o> wrote: |
3 |
|
4 |
> On Wed, Jan 19, 2011 at 3:47 PM, Michał Górny <mgorny@g.o> |
5 |
> wrote: |
6 |
> > On Wed, 19 Jan 2011 16:25:03 +0100 |
7 |
> > "Paweł Hajdan, Jr." <phajdan.jr@g.o> wrote: |
8 |
> > |
9 |
> >> "If enewuser or enewgroup is called from outside of pkg_setup, |
10 |
> >> fail" |
11 |
> > |
12 |
> > It is useful sometimes to call it in pkg_postinst(), if the |
13 |
> > user/group is needed at runtime and not during install-time. |
14 |
> |
15 |
> What difference is there if you run it during setup vs postinst? |
16 |
|
17 |
If the build fails or user aborts the merge, his/her system |
18 |
is not junked with an unnecessary account/group. |
19 |
|
20 |
-- |
21 |
Best regards, |
22 |
Michał Górny |