summaryrefslogtreecommitdiffstats
path: root/debian/parallel.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 09:43:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 09:43:15 +0000
commitfe3977a32ee06b7499aa9e2ef6d67daae821d449 (patch)
treeb2513d52b6cb89426ad47a3afdc85041b3faad4e /debian/parallel.postrm
parentAdding upstream version 20240222+ds. (diff)
downloadparallel-debian.tar.xz
parallel-debian.zip
Adding debian version 20240222+ds-2.debian/20240222+ds-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/parallel.postrm')
-rw-r--r--debian/parallel.postrm15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/parallel.postrm b/debian/parallel.postrm
new file mode 100644
index 0000000..876afe6
--- /dev/null
+++ b/debian/parallel.postrm
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+
+if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1" ]; then
+ dpkg-divert --package parallel --remove --rename \
+ --divert /usr/bin/parallel.moreutils \
+ /usr/bin/parallel
+ dpkg-divert --package parallel --remove --rename \
+ --divert /usr/share/man/man1/parallel.moreutils.1.gz \
+ /usr/share/man/man1/parallel.1.gz
+fi
+
+#DEBHELPER#
+
+exit 0