Import Debian changes 0.66.4-9
[hcoop/debian/courier-authlib.git] / debian / courier-authlib-ldap.postrm
diff --git a/debian/courier-authlib-ldap.postrm b/debian/courier-authlib-ldap.postrm
new file mode 100644 (file)
index 0000000..908c98d
--- /dev/null
@@ -0,0 +1,15 @@
+#! /bin/sh -e
+
+del_override() {
+    if dpkg-statoverride --list $4 >/dev/null; then
+       dpkg-statoverride --force --remove $4
+    fi
+}
+
+if [ "$1" = "purge" ]; then
+    del_override root courier 0640 /etc/courier/authldaprc
+fi
+
+#DEBHELPER#
+
+exit 0