diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:07:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:07:31 +0000 |
commit | edaebb65d92a48d7075c8c1f64c5ffd87054827b (patch) | |
tree | 045c941e1851cde1665bea22d97a2976b7a5bb69 /debian/libreoffice-common.preinst.in | |
parent | Adding upstream version 4:7.4.7. (diff) | |
download | libreoffice-edaebb65d92a48d7075c8c1f64c5ffd87054827b.tar.xz libreoffice-edaebb65d92a48d7075c8c1f64c5ffd87054827b.zip |
Adding debian version 4:7.4.7-1+deb12u1.debian/4%7.4.7-1+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/libreoffice-common.preinst.in | 12 |
1 files changed, 12 insertions, 0 deletions
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# |