summaryrefslogtreecommitdiffstats
path: root/tests/t-failinst-failrm/pkg-failinst-failrm-0/DEBIAN/prerm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:35:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:35:28 +0000
commitea314d2f45c40a006c0104157013ab4b857f665f (patch)
tree3ef2971cb3675c318b8d9effd987854ad3f6d3e8 /tests/t-failinst-failrm/pkg-failinst-failrm-0/DEBIAN/prerm
parentInitial commit. (diff)
downloaddpkg-ea314d2f45c40a006c0104157013ab4b857f665f.tar.xz
dpkg-ea314d2f45c40a006c0104157013ab4b857f665f.zip
Adding upstream version 1.22.4.upstream/1.22.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/t-failinst-failrm/pkg-failinst-failrm-0/DEBIAN/prerm')
-rwxr-xr-xtests/t-failinst-failrm/pkg-failinst-failrm-0/DEBIAN/prerm15
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