summaryrefslogtreecommitdiffstats
path: root/debian/libext2fs2.postrm
blob: 6677f3cbcc545fe0b5b17caec0751dca8bad8f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 libext2fs2 --no-rename --divert "/lib/#DEB_HOST_MULTIARCH#/lib$lib.usr-is-merged" --remove "/lib/#DEB_HOST_MULTIARCH#/lib$lib"
    done
fi

#DEBHELPER#