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