X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/blobdiff_plain/7a1307447e59692be2cc6373f8066b034336274c..e39d03386984ef514666ad54ca5344cf4b7c387e:/debian/postrm diff --git a/debian/postrm b/debian/postrm index 422cdde..eb8e315 100644 --- a/debian/postrm +++ b/debian/postrm @@ -8,8 +8,12 @@ set -e case "$1" in purge) rm -rf /lib/firmware/kinect - # Because piuparts complains about /lib/firmware still there - rmdir --ignore-fail-on-non-empty -p /lib/firmware/ + + if [ -e /usr/share/debconf/confmodule ]; + then + . /usr/share/debconf/confmodule + db_purge + fi ;; remove|upgrade|failed-upgrade|abort-upgrade|abort-install)