[Pkg-nagios-changes] [pkg-nagios] r2041 - nagiosgrapher/trunk/debian

Alexander Reichle-Schmehl tolimar at alioth.debian.org
Fri Jun 8 11:19:43 UTC 2012


tags 670434 pending
thanks

Author: tolimar
Date: 2012-06-08 11:19:42 +0000 (Fri, 08 Jun 2012)
New Revision: 2041

Modified:
   nagiosgrapher/trunk/debian/changelog
   nagiosgrapher/trunk/debian/rules
Log:
Also create postrm script



Modified: nagiosgrapher/trunk/debian/changelog
===================================================================
--- nagiosgrapher/trunk/debian/changelog	2012-06-07 13:52:11 UTC (rev 2040)
+++ nagiosgrapher/trunk/debian/changelog	2012-06-08 11:19:42 UTC (rev 2041)
@@ -4,6 +4,8 @@
   * Avoid accessing uninitialized values to not spam error.log (Closes: #590555)
    * Update debian/patches/566248.dpatch to set $end when not initialized
    * Add debian/patches/590555.dpatch to solve same problem in rrd2-graph.cgi
+  * debian/rules: Create postrm script from postrm.in so we don't leave cruft behind
+    after package purge (Closes: #670434)
 
  -- Alexander Reichle-Schmehl <tolimar at debian.org>  Sat, 03 Dec 2011 13:47:44 +0100
 

Modified: nagiosgrapher/trunk/debian/rules
===================================================================
--- nagiosgrapher/trunk/debian/rules	2012-06-07 13:52:11 UTC (rev 2040)
+++ nagiosgrapher/trunk/debian/rules	2012-06-08 11:19:42 UTC (rev 2041)
@@ -62,6 +62,7 @@
 		mv $$tmpl_root/$$tmpl_dir $(PKG_TMP)/etc/$(PKG)/ngraph.d/; \
 	done; \
 	sed "s#@@CFGS@@#$(CFGS) nagios3/commands.cfg#g;s#@@TMPL_CFGS@@#$$tmpl_cfgs#g" < debian/postinst.in > debian/postinst
+	sed "s#@@CFGS@@#$(CFGS) nagios3/commands.cfg#g;s#@@TMPL_CFGS@@#$$tmpl_cfgs#g" < debian/postrm.in > debian/postrm
 	
 	# fix permissions
 	find $(PKG_TMP)/usr/share/nagiosgrapher/htdocs/images/ -type f -name "*.png" -print0 \




More information about the Pkg-nagios-changes mailing list