[Pkg-nagios-changes] [pkg-nagios] r1521 - nagios3/trunk/debian

Alexander Wirt formorer at alioth.debian.org
Sat Jul 12 09:55:22 UTC 2008


Author: formorer
Date: 2008-07-12 09:55:22 +0000 (Sat, 12 Jul 2008)
New Revision: 1521

Modified:
   nagios3/trunk/debian/rules
Log:
Add sed commands for nagios.cfg and commands.cfg.
NOTE: commands.cfg is not yet finished

Modified: nagios3/trunk/debian/rules
===================================================================
--- nagios3/trunk/debian/rules	2008-07-12 09:55:18 UTC (rev 1520)
+++ nagios3/trunk/debian/rules	2008-07-12 09:55:22 UTC (rev 1521)
@@ -69,6 +69,12 @@
 	sed -e '/Sample CGI/ s/\([0-9]\.[0-9]\.[0-9]\)//' \
 	    -e '/Last Modified/,+1 d' \
 	    sample-config/cgi.cfg > debian-configs/cgi.cfg
+	sed -e '/Sample Main Config/ s/\([0-9]\.[0-9]\.[0-9]\)//' \
+	    -e '/Last Modified/ d' \
+	    sample-config/nagios.cfg > debian-configs/nagios.cfg
+	sed -e '/SAMPLE COMMAND DEFINITIONS/ s/\([0-9]\.[0-9]\.[0-9]\)//' \
+	   -e '/Last Modified/,+1 d' \
+	    sample-config/template-object/commands.cfg > debian-configs/commands.cfg
 
 configure: configure-stamp
 configure-stamp:




More information about the Pkg-nagios-changes mailing list