diff options
Diffstat (limited to 'tests/t-failinst-failrm/pkg-failinst-failrm-0/DEBIAN/postinst')
-rwxr-xr-x | tests/t-failinst-failrm/pkg-failinst-failrm-0/DEBIAN/postinst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/t-failinst-failrm/pkg-failinst-failrm-0/DEBIAN/postinst b/tests/t-failinst-failrm/pkg-failinst-failrm-0/DEBIAN/postinst new file mode 100755 index 0000000..b35b197 --- /dev/null +++ b/tests/t-failinst-failrm/pkg-failinst-failrm-0/DEBIAN/postinst @@ -0,0 +1,15 @@ +#!/bin/sh + +case "$1" in + configure) + exit 1 + ;; + abort-upgrade|abort-deconfigure|abort-remove) + ;; + *) + echo "$0 called with unknown argument '$1'" 1>&2 + exit 1 + ;; +esac + +exit 0 |