[Logcheck-commits] CVS logcheck/debian

CVS User ttroxell logcheck-devel@lists.alioth.debian.org
Sun, 25 Jul 2004 15:58:52 -0600


Update of /cvsroot/logcheck/logcheck/debian
In directory haydn:/tmp/cvs-serv5904/debian

Modified Files:
	changelog logcheck.postrm 
Log Message:
remove header.txt on purge.



--- /cvsroot/logcheck/logcheck/debian/changelog	2004/07/24 07:11:35	1.180
+++ /cvsroot/logcheck/logcheck/debian/changelog	2004/07/25 21:58:52	1.181
@@ -2,6 +2,7 @@
 
   todd:
   * Small rule updates for dhclient, ntp, bind
+  * Add line to logcheck.postinst to remove header.txt on purge
 
  --
 
--- /cvsroot/logcheck/logcheck/debian/logcheck.postrm	2004/06/01 21:58:09	1.3
+++ /cvsroot/logcheck/logcheck/debian/logcheck.postrm	2004/07/25 21:58:52	1.4
@@ -25,6 +25,10 @@
 	fi
 	# remove user and group
 	deluser --remove-home logcheck > /dev/null 2>&1 || true
+	# remove header
+	if [ -e /etc/logcheck/header.txt ]; then
+	    rm -f /etc/logcheck/header.txt
+	fi
 	;;
 
     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)