Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
nfsen
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 21
[-]
[+]
Changed
nfsen.spec
@@ -1,5 +1,10 @@ %define pkgversion 1.3.6p1 %define srcdir /usr/src +%if 0%{?suse_version} +%define _group www +%else +%define _group apache +%endif Name: nfsen Version: 1.3.6.1 Release: 1 @@ -81,7 +86,7 @@ %pre if [ $1 == 1 ] ; then if [ -z "`%__grep "^netflow" /etc/passwd 2>/dev/null`" ]; then - %{_sbindir}/useradd -c "netflow" -d %{_datadir}/nfsen -g www -r -s /bin/false netflow + %{_sbindir}/useradd -c "netflow" -d %{_datadir}/nfsen -g %{_group} -r -s /bin/false netflow fi fi