Fix lintian warning: postrm-does-not-purge-debconf

This commit is contained in:
Jose Diaz-Gonzalez committed 2016-01-01 21:45:38 -05:00
1 parent b962221b41
commit 4cb713cebf
1 file changed
+7
Vendored Executable
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
set -eo pipefail; [[ $TRACE ]] && set -x
if [[ "$1" == "purge" ]] && [[ -e /usr/share/debconf/confmodule ]]; then
. /usr/share/debconf/confmodule
db_purge
fi