summaryrefslogtreecommitdiffstats
path: root/tests/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postinst')
-rwxr-xr-xtests/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postinst b/tests/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postinst
new file mode 100755
index 0000000..c6b0782
--- /dev/null
+++ b/tests/t-conffile-obsolete/pkg-conff-obsolete-2/DEBIAN/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+if dpkg-maintscript-helper supports rm_conffile; then
+ dpkg-maintscript-helper rm_conffile /test-conffile 0 -- "$@"
+fi