diff options
Diffstat (limited to 'tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN')
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/conffiles b/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/conffiles new file mode 100644 index 0000000..ef41b42 --- /dev/null +++ b/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/conffiles @@ -0,0 +1,2 @@ +/test-conffile +/test-conffile with spaces diff --git a/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/control b/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/control new file mode 100644 index 0000000..3aeb1b2 --- /dev/null +++ b/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/control @@ -0,0 +1,8 @@ +Package: pkg-conff-prompt +Version: 0 +Section: test +Priority: extra +Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org> +Architecture: all +Description: test package - conffile prompt + diff --git a/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/postinst b/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/postinst new file mode 100755 index 0000000..27be638 --- /dev/null +++ b/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/postinst @@ -0,0 +1,3 @@ +#!/bin/sh +echo "test modified" >"$DPKG_ROOT/test-conffile" +echo "test modified spaces" >"$DPKG_ROOT/test-conffile with spaces" |