]> git.pld-linux.org Git - packages/nagios.git/commitdiff
- add nagios-data group to http in trigger for it to be done in proper order auto/ac/nagios-2_0-0_b4_3
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 9 Aug 2005 10:34:47 +0000 (10:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nagios.spec -> 1.60

nagios.spec

index 6466a63cfb0279669beda55a0afc39e07b2b1305..c764122a32a4784cdfe7b87284709cab06c24525 100644 (file)
@@ -10,7 +10,7 @@ Summary(pt_BR):       Programa para monitora
 Name:          nagios
 Version:       2.0
 %define        _rc     b4
-%define        _rel    2
+%define        _rel    3
 Release:       0.%{_rc}.%{_rel}
 License:       GPL v2
 Group:         Networking
@@ -270,8 +270,6 @@ if [ "$1" = "0" ]; then
 fi
 
 %post cgi
-%addusertogroup http nagios-data
-
 if [ "$1" = 1 ]; then
 %banner %{name} -e <<EOF
 NOTE:
@@ -281,12 +279,14 @@ EOF
 fi
 
 %triggerin cgi -- apache1 >= 1.3.33-2
+%addusertogroup http nagios-data
 %apache_config_install -v 1 -c %{_sysconfdir}/apache-%{name}.conf
 
 %triggerun cgi -- apache1 >= 1.3.33-2
 %apache_config_uninstall -v 1
 
 %triggerin cgi -- apache >= 2.0.0
+%addusertogroup http nagios-data
 %apache_config_install -v 2 -c %{_sysconfdir}/apache-%{name}.conf
 
 %triggerun cgi -- apache >= 2.0.0
This page took 0.052275 seconds and 4 git commands to generate.