summaryrefslogtreecommitdiffstats
path: root/debian/util-linux-extra.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/util-linux-extra.postinst')
-rwxr-xr-xdebian/util-linux-extra.postinst15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/util-linux-extra.postinst b/debian/util-linux-extra.postinst
new file mode 100755
index 0000000..82923bd
--- /dev/null
+++ b/debian/util-linux-extra.postinst
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+if test "$1" = upgrade || test "$1" = install; then
+ dpkg-divert --no-rename --package util-linux-extra --divert /sbin/fsck.cramfs.usr-is-merged --add /sbin/fsck.cramfs
+ dpkg-divert --no-rename --package util-linux-extra --divert /sbin/fsck.minix.usr-is-merged --add /sbin/fsck.minix
+ dpkg-divert --no-rename --package util-linux-extra --divert /sbin/mkfs.bfs.usr-is-merged --add /sbin/mkfs.bfs
+ dpkg-divert --no-rename --package util-linux-extra --divert /sbin/mkfs.cramfs.usr-is-merged --add /sbin/mkfs.cramfs
+ dpkg-divert --no-rename --package util-linux-extra --divert /sbin/mkfs.minix.usr-is-merged --add /sbin/mkfs.minix
+fi
+# end-remove-after
+
+#DEBHELPER#