ubuntu-22.04.3-desktop-amd64/casper/filesystem/usr/share/libreoffice/shell-lib-extensions.sh

13 lines
361 B
Bash

validate_extensions() {
INSTDIR=`mktemp -d`
if HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg list --bundled >/dev/null 2>/dev/null; then
HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg validate -v --bundled
fi
}
make_lo_sync_extensions() {
if [ -d /usr/lib/libreoffice/share/extensions ]; then
touch /usr/lib/libreoffice/share/extensions
fi
}