diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-26 17:41:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-26 17:41:23 +0000 |
commit | 17727347dd594091ed9eac73cdbea82f47e050c6 (patch) | |
tree | e148c024e07eabd5d37feb7b49a5caa27e1aaea7 /debian/util-linux-extra.preinst | |
parent | Adding debian version 2.40-6. (diff) | |
download | util-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-x | debian/util-linux-extra.preinst | 15 |
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# - |