summaryrefslogtreecommitdiffstats
path: root/debian/util-linux-extra.preinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:38:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:38:36 +0000
commitaeb7d171a03977b7990dbcc046fa95635bc0be49 (patch)
treead008ab00aa05f82f43de54641b1ef1ed2206b94 /debian/util-linux-extra.preinst
parentReleasing progress-linux version 2.40-7~progress7.99u1. (diff)
downloadutil-linux-aeb7d171a03977b7990dbcc046fa95635bc0be49.tar.xz
util-linux-aeb7d171a03977b7990dbcc046fa95635bc0be49.zip
Merging debian version 2.40-8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/util-linux-extra.preinst8
1 files changed, 3 insertions, 5 deletions
diff --git a/debian/util-linux-extra.preinst b/debian/util-linux-extra.preinst
index 0d9e13a..0d5abc5 100755
--- a/debian/util-linux-extra.preinst
+++ b/debian/util-linux-extra.preinst
@@ -3,11 +3,9 @@
set -e
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
+ for f in ctrlaltdel fsck.cramfs fsck.minix mkfs.bfs mkfs.cramfs mkfs.minix; do
+ dpkg-divert --no-rename --package util-linux-extra --divert "/sbin/$f.usr-is-merged" --add "/sbin/$f"
+ done
fi
#DEBHELPER#