summaryrefslogtreecommitdiffstats
path: root/debian/libtirpc3.postrm.in
blob: cf94a3e5cd2d4e26fd9216b3945741937d99ffea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

# per Helmut, these can't be safely removed again (in package postinst)
# until forky
case $1 in
	remove)
		for file in libtirpc.so.3 libtirpc.so.3.0.0; do
			dpkg-divert --package libtirpc3 --no-rename \
				--remove --divert \
				/lib/#DEB_HOST_MULTIARCH#/$file.usr-is-merged \
				/lib/#DEB_HOST_MULTIARCH#/$file
                done
                ;;
esac

#DEBHELPER#