Hi!

I'm attaching a patch to fix these policy violations. Please include it to
fix RC Bug.

Thank you

-- 
Marco Rodrigues

http://www.marblehole.com
diff -ruNb mysqmail-0.4.9.orig//debian/mysqmail.postinst mysqmail-0.4.9/debian/mysqmail.postinst
--- mysqmail-0.4.9.orig//debian/mysqmail.postinst	2010-09-05 01:32:55.225438010 +0100
+++ mysqmail-0.4.9/debian/mysqmail.postinst	2010-09-07 00:35:55.931889002 +0100
@@ -2,6 +2,10 @@
 
 set -e
 
+if [ "$1" != "configure" ]; then
+    exit 0
+fi
+
 PATH_CONF_FILE=/etc/mysqmail.conf
 
 . /usr/share/debconf/confmodule
diff -ruNb mysqmail-0.4.9.orig/debian//mysqmail.postrm mysqmail-0.4.9/debian//mysqmail.postrm
--- mysqmail-0.4.9.orig/debian//mysqmail.postrm	1970-01-01 01:00:00.000000000 +0100
+++ mysqmail-0.4.9/debian//mysqmail.postrm	2010-09-05 01:34:04.535437998 +0100
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+# Remove configuration if package is being purged
+if [ "$1" = "purge" ]; then
+	rm -f /etc/mysqmail.conf
+fi
+
+#DEBHELPER#
+
+exit 0
diff -ruNb mysqmail-0.4.9.orig/debian//mysqmail.prerm mysqmail-0.4.9/debian//mysqmail.prerm
--- mysqmail-0.4.9.orig/debian//mysqmail.prerm	2010-09-05 01:32:55.225438010 +0100
+++ mysqmail-0.4.9/debian//mysqmail.prerm	1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-set -e
-
-rm -f /etc/mysqmail.conf
-
-#DEBHELPER#
-
-exit 0

Reply via email to