X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/blobdiff_plain/d12c99394cb86bbf9c0657a596a4a26fe2b1c16d..78303e908fb9bdf02dc0cf8222dc9023184ef3f8:/debian/postrm diff --git a/debian/postrm b/debian/postrm index 422cdde..ea092fa 100644 --- a/debian/postrm +++ b/debian/postrm @@ -10,6 +10,12 @@ case "$1" in 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)