summaryrefslogtreecommitdiffstats
path: root/debian/util-linux-extra.postrm
diff options
context:
space:
mode:
Diffstat (limited to '')
-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#
+