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:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-26 17:41:48 +0000
commit44ad8616fc71dc577a8a09be7cd05a034606feeb (patch)
tree2b6e157c29d7eae810d06ee00dd3169de654ef39 /debian/util-linux-extra.preinst
parentReleasing progress-linux version 2.40-6~progress7.99u1. (diff)
downloadutil-linux-44ad8616fc71dc577a8a09be7cd05a034606feeb.tar.xz
util-linux-44ad8616fc71dc577a8a09be7cd05a034606feeb.zip
Merging debian version 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#
-