summaryrefslogtreecommitdiffstats
path: root/debian/libreoffice-common.maintscript
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/libreoffice-common.maintscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/libreoffice-common.maintscript b/debian/libreoffice-common.maintscript
new file mode 100644
index 000000000..5ef5e3d2f
--- /dev/null
+++ b/debian/libreoffice-common.maintscript
@@ -0,0 +1,11 @@
+mv_conffile /etc/apparmor.d/usr.lib.libreofficeprogram.oosplash /etc/apparmor.d/usr.lib.libreoffice.program.oosplash 1:5.4.3-1
+mv_conffile /etc/apparmor.d/usr.lib.libreofficeprogram.senddoc /etc/apparmor.d/usr.lib.libreoffice.program.senddoc 1:5.4.3-1
+mv_conffile /etc/apparmor.d/usr.lib.libreofficeprogram.soffice.bin /etc/apparmor.d/usr.lib.libreoffice.program.soffice.bin 1:5.4.3-1
+mv_conffile /etc/apparmor.d/usr.lib.libreofficeprogram.xpdfimport /etc/apparmor.d/usr.lib.libreoffice.program.xpdfimport 1:5.4.3-1
+
+# do this manually since dpkg-maintscript-helper dir_to_symlink
+# does not work reliably in this case because we cannot ensure that all
+# conflicting packages previously shipping files in
+# /usr/lib/libreoffice/share/registry are either upgraded or removed
+# but not just deconfigured, see #985297
+#dir_to_symlink /usr/lib/libreoffice/share/registry /etc/libreoffice/registry 1:7.0.2~rc1-1