summaryrefslogtreecommitdiffstats
path: root/debian/libreoffice-common.preinst.in
blob: d1a322c0694fd61f457335e7e875d20b6072f283 (plain)
1
2
3
4
5
6
7
8
9
10
11
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#