summaryrefslogtreecommitdiffstats
path: root/debian/libtirpc3.preinst.in
blob: 831e5472fec41586b7ad0716c2c54eb4ef995df9 (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
	install)
		for file in libtirpc.so.3 libtirpc.so.3.0.0; do
			dpkg-divert --package libtirpc3 --no-rename \
				--divert \
				/lib/#DEB_HOST_MULTIARCH#/$file.usr-is-merged \
				/lib/#DEB_HOST_MULTIARCH#/$file
                done
                ;;
esac

#DEBHELPER#