summaryrefslogtreecommitdiffstats
path: root/debian/libtirpc3t64.postrm.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libtirpc3t64.postrm.in')
-rw-r--r--debian/libtirpc3t64.postrm.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/libtirpc3t64.postrm.in b/debian/libtirpc3t64.postrm.in
new file mode 100644
index 0000000..3faa043
--- /dev/null
+++ b/debian/libtirpc3t64.postrm.in
@@ -0,0 +1,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 libtirpc3t64 --no-rename \
+ --remove --divert \
+ /lib/#DEB_HOST_MULTIARCH#/$file.usr-is-merged \
+ /lib/#DEB_HOST_MULTIARCH#/$file
+ done
+ ;;
+esac
+
+#DEBHELPER#