summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-debconf
diff options
context:
space:
mode:
authorjoey <joey>1999-09-29 00:09:42 +0000
committerjoey <joey>1999-09-29 00:09:42 +0000
commita9b331f789c412236016303e21b4abfb83f9aa62 (patch)
tree7feb991bfd38b03a2254a8f52a61f697ce2fe67c /autoscripts/postrm-debconf
parent3b8ba525e95675349ed84bb3e453f36f81cf5134 (diff)
r284: * Enhanced debconf support -- the database is now cleaned up on package
purge. * Broke all debconf support off into a dh_installdebconf script. This seems conceptually a little cleaner.
Diffstat (limited to 'autoscripts/postrm-debconf')
-rw-r--r--autoscripts/postrm-debconf4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoscripts/postrm-debconf b/autoscripts/postrm-debconf
new file mode 100644
index 0000000..2b79156
--- /dev/null
+++ b/autoscripts/postrm-debconf
@@ -0,0 +1,4 @@
+if [ "$1" = purge -a -e /usr/share/debconf/confmodule.sh ]; then
+ . /usr/share/debconf/confmodule.sh
+ db_purge
+fi