]> git.deb.at Git - pkg/abook.git/blobdiff - debian/postrm
Imported Debian patch 0.5.3-1
[pkg/abook.git] / debian / postrm
diff --git a/debian/postrm b/debian/postrm
new file mode 100644 (file)
index 0000000..d388fb4
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+# postrm for abook
+
+if [ -x "`which update-menus 2>/dev/null`" ]; then
+       update-menus
+fi
+
+if [ "$1" = 'purge' -a -e /usr/share/debconf/confmodule ]; then
+       . /usr/share/debconf/confmodule
+       db_purge
+fi