summaryrefslogtreecommitdiffstats
path: root/debian/util-linux-extra.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-26 17:41:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-26 17:41:48 +0000
commit44ad8616fc71dc577a8a09be7cd05a034606feeb (patch)
tree2b6e157c29d7eae810d06ee00dd3169de654ef39 /debian/util-linux-extra.postrm
parentReleasing progress-linux version 2.40-6~progress7.99u1. (diff)
downloadutil-linux-44ad8616fc71dc577a8a09be7cd05a034606feeb.tar.xz
util-linux-44ad8616fc71dc577a8a09be7cd05a034606feeb.zip
Merging debian version 2.40-7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/util-linux-extra.postrm')
-rw-r--r--debian/util-linux-extra.postrm14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/util-linux-extra.postrm b/debian/util-linux-extra.postrm
new file mode 100644
index 0000000..3e01a3a
--- /dev/null
+++ b/debian/util-linux-extra.postrm
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+if test "$1" = remove || test "$1" = disappear; then
+ dpkg-divert --no-rename --package util-linux-extra --divert /sbin/fsck.cramfs.usr-is-merged --remove /sbin/fsck.cramfs
+ dpkg-divert --no-rename --package util-linux-extra --divert /sbin/fsck.minix.usr-is-merged --remove /sbin/fsck.minix
+ dpkg-divert --no-rename --package util-linux-extra --divert /sbin/mkfs.bfs.usr-is-merged --remove /sbin/mkfs.bfs
+ dpkg-divert --no-rename --package util-linux-extra --divert /sbin/mkfs.cramfs.usr-is-merged --remove /sbin/mkfs.cramfs
+ dpkg-divert --no-rename --package util-linux-extra --divert /sbin/mkfs.minix.usr-is-merged --remove /sbin/mkfs.minix
+fi
+
+#DEBHELPER#
+