From a9b331f789c412236016303e21b4abfb83f9aa62 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 29 Sep 1999 00:09:42 +0000 Subject: 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. --- autoscripts/postrm-debconf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 autoscripts/postrm-debconf (limited to 'autoscripts/postrm-debconf') diff --git a/autoscripts/postrm-debconf b/autoscripts/postrm-debconf new file mode 100644 index 00000000..2b79156f --- /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 -- cgit v1.2.3