summaryrefslogtreecommitdiffstats
path: root/debian/util-linux-extra.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:38:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:38:35 +0000
commitf748c1ddd77e529d3146548e5d297057055a6cfa (patch)
tree7fbbe560c319bb875853ad8e84755420ab7d2c46 /debian/util-linux-extra.postrm
parentAdding debian version 2.40-7. (diff)
downloadutil-linux-f748c1ddd77e529d3146548e5d297057055a6cfa.tar.xz
util-linux-f748c1ddd77e529d3146548e5d297057055a6cfa.zip
Adding debian version 2.40-8.debian/2.40-8
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/util-linux-extra.postrm8
1 files changed, 3 insertions, 5 deletions
diff --git a/debian/util-linux-extra.postrm b/debian/util-linux-extra.postrm
index 3e01a3a..ba30c67 100644
--- a/debian/util-linux-extra.postrm
+++ b/debian/util-linux-extra.postrm
@@ -3,11 +3,9 @@
set -e
if test "$1" = remove || test "$1" = disappear; 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
+ 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" --remove "/sbin/$f"
+ done
fi
#DEBHELPER#