aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/pbuilder.postrm13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/pbuilder.postrm b/debian/pbuilder.postrm
new file mode 100644
index 0000000..fca2ba1
--- /dev/null
+++ b/debian/pbuilder.postrm
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = purge ]; then
+ rm -f /etc/pbuilderrc
+ if [ -e /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+ db_purge
+ fi
+fi
+
+#DEBHELPER#
+exit 0