diff --git a/libreoffice-base.postrm.in b/libreoffice-base.postrm.in
deleted file mode 100755
index 88042b2..0000000
--- a/libreoffice-base.postrm.in
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-set -e
-
-#INCLUDE_SHELL_LIB#
-
-if [ "$1" = "remove" ]; then
-	dpkg-divert --package $DPKG_MAINTSCRIPT_PACKAGE --remove --rename \
-		--divert /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess \
-                        /usr/lib/libreoffice/share/basic/dialog.xlc
-	dpkg-divert --package $DPKG_MAINTSCRIPT_PACKAGE --remove --rename \
-		--divert /usr/lib/libreoffice/share/basic/script.xlc.noaccess \
-                        /usr/lib/libreoffice/share/basic/script.xlc
-fi
-
-#DEBHELPER#
-
-exit 0
diff --git a/libreoffice-base.preinst.in b/libreoffice-base.preinst.in
deleted file mode 100755
index d2e5b4c..0000000
--- a/libreoffice-base.preinst.in
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-set -e
-
-#INCLUDE_SHELL_LIB#
-
-if [ upgrade != "$1" ] || dpkg --compare-versions "$2" lt 1:4.2.5~rc1-1; then
-	dpkg-divert --package $DPKG_MAINTSCRIPT_PACKAGE --add --rename \
-		--divert /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess \
-			/usr/lib/libreoffice/share/basic/dialog.xlc
-	dpkg-divert --package $DPKG_MAINTSCRIPT_PACKAGE --add --rename \
-		--divert /usr/lib/libreoffice/share/basic/script.xlc.noaccess \
-			/usr/lib/libreoffice/share/basic/script.xlc
-fi
-
-#DEBHELPER#
-
-exit 0
