From edaebb65d92a48d7075c8c1f64c5ffd87054827b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:07:31 +0200 Subject: Adding debian version 4:7.4.7-1+deb12u1. Signed-off-by: Daniel Baumann --- debian/libreoffice-common.preinst.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 debian/libreoffice-common.preinst.in (limited to 'debian/libreoffice-common.preinst.in') diff --git a/debian/libreoffice-common.preinst.in b/debian/libreoffice-common.preinst.in new file mode 100644 index 000000000..d1a322c06 --- /dev/null +++ b/debian/libreoffice-common.preinst.in @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +# fix up broken 0 byte file, should be a dir +if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl "1:7.4.1~rc1-3"; then + if [ -f /@OODIR@/share/extensions -a ! -s /@OODIR@/share/extensions ]; then + rm /@OODIR@/share/extensions + fi +fi + +#DEBHELPER# -- cgit v1.2.3