summaryrefslogtreecommitdiffstats
path: root/tests/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postinst')
-rwxr-xr-xtests/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postinst b/tests/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postinst
new file mode 100755
index 0000000..89c1f0b
--- /dev/null
+++ b/tests/t-conffile-rename/pkg-conff-rename-1/DEBIAN/postinst
@@ -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