1 |
On Saturday 03 November 2007, Alin Năstac wrote: |
2 |
> Donnie Berkholz wrote: |
3 |
> > On 10:37 Sat 03 Nov , Alin Năstac wrote: |
4 |
> >> You have to create users and groups in both pkg_ functions: |
5 |
> >> - pkg_setup : when installation is performed the usual way, through |
6 |
> >> compilation |
7 |
> >> - pkg_preinst: when installed from binary package (-k) |
8 |
> > |
9 |
> > You shouldn't, all pkg_* functions should always be run regardless of |
10 |
> > binary or source package. File a portage bug if pkg_setup() isn't |
11 |
> > getting run, don't work around it. |
12 |
> |
13 |
> If that is true (dunno, I didn't tested it yet) |
14 |
|
15 |
it is true, please update your package to create the users whenever it's |
16 |
appropriate, and only once. |
17 |
|
18 |
> then someone should |
19 |
> correct http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml . |
20 |
> |
21 |
> Quote from the aforementioned document: |
22 |
|
23 |
fixed. |
24 |
-mike |