summaryrefslogtreecommitdiffstats
path: root/debian/libext2fs2t64.postrm
blob: 8a277085155266a564adbf6e422c3e7a8776c601 (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 libext2fs2t64 --no-rename --divert "/lib/#DEB_HOST_MULTIARCH#/lib$lib.usr-is-merged" --remove "/lib/#DEB_HOST_MULTIARCH#/lib$lib"
    done
fi

#DEBHELPER#