From: Luca Falavigna <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Should not remove /etc/dbmail in dbmail.postrm Package: dbmail Version: 2.2.5-1 Tags: patch
dbmail.postrm removes /etc/dbmail directory. Since it has been created by dh_installdirs in debian/rules, it is removed automatically during package removal. Removing it here raises an error.
Attached patch should fix this. Thank you.
diff -Nru dbmail-2.2.3/debian/dbmail.postrm dbmail-2.2.3/debian/dbmail.postrm --- dbmail-2.2.3/debian/dbmail.postrm 2006-10-26 22:35:02.000000000 +0200 +++ dbmail-2.2.3/debian/dbmail.postrm 2007-06-07 11:48:50.000000000 +0200 @@ -6,8 +6,6 @@ rm -f /etc/dbmail/dbmail.conf || true rm -f /etc/default/dbmail || true - rmdir /etc/dbmail >/dev/null || true - ucf --purge /etc/dbmail/dbmail.conf || true ucf --purge /etc/default/dbmail || true