summaryrefslogtreecommitdiffstats
path: root/debian/util-linux-extra.preinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-26 17:41:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-26 17:41:23 +0000
commit17727347dd594091ed9eac73cdbea82f47e050c6 (patch)
treee148c024e07eabd5d37feb7b49a5caa27e1aaea7 /debian/util-linux-extra.preinst
parentAdding debian version 2.40-6. (diff)
downloadutil-linux-17727347dd594091ed9eac73cdbea82f47e050c6.tar.xz
util-linux-17727347dd594091ed9eac73cdbea82f47e050c6.zip
Adding debian version 2.40-7.debian/2.40-7
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/util-linux-extra.preinst15
1 files changed, 6 insertions, 9 deletions
diff --git a/debian/util-linux-extra.preinst b/debian/util-linux-extra.preinst
index edd6522..0d9e13a 100755
--- a/debian/util-linux-extra.preinst
+++ b/debian/util-linux-extra.preinst
@@ -2,15 +2,12 @@
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
+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#
-