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