summaryrefslogtreecommitdiffstats
path: root/debian/libext2fs2t64.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 09:30:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 09:30:53 +0000
commit72cb7fb691d5b5643b0d1b2fc8e853bdf3ba6c46 (patch)
tree736ec44ede817d6de4c6f8a5a5f241250e0d2505 /debian/libext2fs2t64.postrm
parentReleasing progress-linux version 1.47.0-2~progress7.99u1. (diff)
downloade2fsprogs-72cb7fb691d5b5643b0d1b2fc8e853bdf3ba6c46.tar.xz
e2fsprogs-72cb7fb691d5b5643b0d1b2fc8e853bdf3ba6c46.zip
Merging debian version 1.47.0-2.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/libext2fs2t64.postrm')
-rw-r--r--debian/libext2fs2t64.postrm12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/libext2fs2t64.postrm b/debian/libext2fs2t64.postrm
new file mode 100644
index 0000000..8a27708
--- /dev/null
+++ b/debian/libext2fs2t64.postrm
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+if test "$1" = remove; then
+ # DEP17 P1 mitigation. Remove these diversions via postinst once trixie is released.
+ for lib in e2p.so.2 e2p.so.2.3 ext2fs.so.2 ext2fs.so.2.4; do
+ dpkg-divert --package libext2fs2t64 --no-rename --divert "/lib/#DEB_HOST_MULTIARCH#/lib$lib.usr-is-merged" --remove "/lib/#DEB_HOST_MULTIARCH#/lib$lib"
+ done
+fi
+
+#DEBHELPER#