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