summaryrefslogtreecommitdiffstats
path: root/debian/util-linux-extra.preinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 21:14:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 21:14:40 +0000
commitf342a2a222c9bf49a51d66c4a48fdfd0db50272a (patch)
treefe21ed89618a4eaf167e97bbc92cee48ec8d0420 /debian/util-linux-extra.preinst
parentAdding debian version 2.40-1. (diff)
downloadutil-linux-f342a2a222c9bf49a51d66c4a48fdfd0db50272a.tar.xz
util-linux-f342a2a222c9bf49a51d66c4a48fdfd0db50272a.zip
Adding debian version 2.40-2.debian/2.40-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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#
+