summaryrefslogtreecommitdiffstats
path: root/debian/util-linux-extra.preinst
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdebian/util-linux-extra.preinst16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/util-linux-extra.preinst b/debian/util-linux-extra.preinst
new file mode 100755
index 0000000..edd6522
--- /dev/null
+++ b/debian/util-linux-extra.preinst
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+if test "$1" = configure; 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
+# end-remove-after
+
+#DEBHELPER#
+