aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2009-02-02 13:56:16 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2009-02-02 13:56:16 +0900
commit52dd7f68de565601b7c277429bf6ce429425cfb3 (patch)
tree93f14d18fd233da4962993607f5c6eb5bf1e9883 /debian
parent64f36d5d4c4ca8cbb436d4f85b60a27d9ea9cfb5 (diff)
downloadpbuilder-52dd7f68de565601b7c277429bf6ce429425cfb3.tar
pbuilder-52dd7f68de565601b7c277429bf6ce429425cfb3.tar.gz
Bug#513737: after purge configuration is still there
remove /etc/pbuilderrc and db_purge after purge.
Diffstat (limited to 'debian')
-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