summaryrefslogtreecommitdiffstats
path: root/debian/libparted2t64.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libparted2t64.postinst')
-rw-r--r--debian/libparted2t64.postinst13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/libparted2t64.postinst b/debian/libparted2t64.postinst
new file mode 100644
index 0000000..a223dd3
--- /dev/null
+++ b/debian/libparted2t64.postinst
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+if test "$1" = configure; then
+ for f in libparted.so.2 libparted.so.2.0.5; do
+ dpkg-divert --no-rename --package libparted2t64 --divert "/lib/#DEB_HOST_MULTIARCH#/$f.usr-is-merged" --remove "/lib/#DEB_HOST_MULTIARCH#/$f"
+ done
+fi
+# end-remove-after
+
+#DEBHELPER#