Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
nrpe
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 12
[-]
[+]
Changed
nrpe.spec
@@ -116,7 +116,9 @@ %post if [ -f /etc/sudoers ] ; then - echo "nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/" >> /etc/sudoers + if [ -z "`grep ^nagios /etc/sudoers`" ] ; then + echo "nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/" >> /etc/sudoers + fi fi %build