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