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-disappear-diverted-other/pkg-divert/DEBIAN/postrm | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 tests/t-disappear-diverted-other/pkg-divert/DEBIAN/postrm (limited to 'tests/t-disappear-diverted-other/pkg-divert/DEBIAN/postrm') diff --git a/tests/t-disappear-diverted-other/pkg-divert/DEBIAN/postrm b/tests/t-disappear-diverted-other/pkg-divert/DEBIAN/postrm new file mode 100755 index 0000000..98891f6 --- /dev/null +++ b/tests/t-disappear-diverted-other/pkg-divert/DEBIAN/postrm @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +if [ "$1" = "purge" ] || [ "$1" = "disappear" ]; then + dpkg-divert --rename --remove /test-dir/test-divert +fi + -- cgit v1.2.3