diff options
Diffstat (limited to '')
-rw-r--r-- | t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# |