diff options
Diffstat (limited to 'tests/t-triggers-path/pkg-trigger-cmd/DEBIAN')
-rw-r--r-- | tests/t-triggers-path/pkg-trigger-cmd/DEBIAN/control | 7 | ||||
-rwxr-xr-x | tests/t-triggers-path/pkg-trigger-cmd/DEBIAN/postinst | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/t-triggers-path/pkg-trigger-cmd/DEBIAN/control b/tests/t-triggers-path/pkg-trigger-cmd/DEBIAN/control new file mode 100644 index 0000000..de4f335 --- /dev/null +++ b/tests/t-triggers-path/pkg-trigger-cmd/DEBIAN/control @@ -0,0 +1,7 @@ +Package: pkg-trigger-cmd +Version: 0 +Section: test +Priority: extra +Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org> +Architecture: all +Description: test package - package to be configured diff --git a/tests/t-triggers-path/pkg-trigger-cmd/DEBIAN/postinst b/tests/t-triggers-path/pkg-trigger-cmd/DEBIAN/postinst new file mode 100755 index 0000000..8ee3e60 --- /dev/null +++ b/tests/t-triggers-path/pkg-trigger-cmd/DEBIAN/postinst @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +dpkg-trigger /test/trigger/trig-cmd |