From ea314d2f45c40a006c0104157013ab4b857f665f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 20:35:28 +0200 Subject: Adding upstream version 1.22.4. Signed-off-by: Daniel Baumann --- tests/t-triggers/pkg-triggers-noawait/DEBIAN/postinst | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 tests/t-triggers/pkg-triggers-noawait/DEBIAN/postinst (limited to 'tests/t-triggers/pkg-triggers-noawait/DEBIAN/postinst') diff --git a/tests/t-triggers/pkg-triggers-noawait/DEBIAN/postinst b/tests/t-triggers/pkg-triggers-noawait/DEBIAN/postinst new file mode 100755 index 0000000..5269ac4 --- /dev/null +++ b/tests/t-triggers/pkg-triggers-noawait/DEBIAN/postinst @@ -0,0 +1,13 @@ +#!/bin/sh + +if [ "$1" = "triggered" ]; then + case " $2 " in + *" a-trigger "*) + touch "$DPKG_ROOT/a-trigger-ok" + ;; + *" /triggers "*) + touch "$DPKG_ROOT/triggers/ok" + ;; + esac +fi + -- cgit v1.2.3