On 18:24 Mon 22 Oct     , Tobias Scherbaum (dertobi123) wrote:
> 1.1                  net-mail/mailgraph/mailgraph-1.14.ebuild
> 
> file : 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.1&view=markup
> plain: 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.1&content-type=text/plain

> user_group_setup() {
>       # add user and group for mailgraph daemon
>       # also add mgraph to the group adm so it's able to
>       # read syslog logfile /var/log/messages (should be owned by
>       # root:adm with permission 0640)
>       enewgroup mgraph
>       enewuser mgraph -1 -1 /var/empty mgraph,adm
> }
> 
> pkg_setup() {
>       webapp_pkg_setup
>       built_with_use net-analyzer/rrdtool perl \
>               || die "net-analyzer/rrdtool must be built with USE=perl"
>       user_group_setup
> }

...

> pkg_preinst() {
>       user_group_setup
> }

Why is user_group_setup() run twice?

>       if [[ has_version <=net-mail/mailgraph-1.12 ]] ; then

Does this actually work?

Thanks,
Donnie
-- 
[EMAIL PROTECTED] mailing list

Reply via email to