SPECS: nagios.spec - fix for getgid from new coreutils; rel 2

glen glen at pld-linux.org
Tue Nov 18 16:48:51 CET 2008


Author: glen                         Date: Tue Nov 18 15:48:51 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix for getgid from new coreutils; rel 2

---- Files affected:
SPECS:
   nagios.spec (1.119 -> 1.120) 

---- Diffs:

================================================================
Index: SPECS/nagios.spec
diff -u SPECS/nagios.spec:1.119 SPECS/nagios.spec:1.120
--- SPECS/nagios.spec:1.119	Wed Nov  5 10:29:10 2008
+++ SPECS/nagios.spec	Tue Nov 18 16:48:45 2008
@@ -8,7 +8,7 @@
 Summary(pt_BR.UTF-8):	Programa para monitoração de máquinas e serviços
 Name:		nagios
 Version:	3.0.5
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Networking
 Source0:	http://dl.sourceforge.net/nagios/%{name}-%{version}.tar.gz
@@ -267,7 +267,7 @@
 fi
 
 %pre common
-if [ "`getgid netsaint`" = "72" ]; then
+if [ "`getgid netsaint 2>/dev/null`" = "72" ]; then
 	/usr/sbin/groupmod -n nagios netsaint
 fi
 %groupadd -g 72 nagios
@@ -495,6 +495,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.120  2008/11/18 15:48:45  glen
+- fix for getgid from new coreutils; rel 2
+
 Revision 1.119  2008/11/05 09:29:10  paszczus
 - updated to 3.0.5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nagios.spec?r1=1.119&r2=1.120&f=u



More information about the pld-cvs-commit mailing list