summaryrefslogtreecommitdiffstats
path: root/tests/t-triggers/pkg-triggers/DEBIAN/postinst
blob: 5269ac46cb2bb69e86bf5c3edb864aa3cd627f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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