From 72cb7fb691d5b5643b0d1b2fc8e853bdf3ba6c46 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 11:30:08 +0200 Subject: Merging debian version 1.47.0-2.4. Signed-off-by: Daniel Baumann --- debian/libext2fs2t64.preinst | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 debian/libext2fs2t64.preinst (limited to 'debian/libext2fs2t64.preinst') diff --git a/debian/libext2fs2t64.preinst b/debian/libext2fs2t64.preinst new file mode 100644 index 0000000..8c802db --- /dev/null +++ b/debian/libext2fs2t64.preinst @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +if test "$1" = install -o "$1" = upgrade; 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" --add "/lib/#DEB_HOST_MULTIARCH#/lib$lib" + done +fi + +#DEBHELPER# -- cgit v1.2.3