/usr/share/libreoffice/shell-lib-extensions.sh is in libreoffice-common 1:3.5.2-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | validate_extensions() {
/usr/lib/libreoffice/program/unopkg validate -v --shared
}
sync_extensions() {
INSTDIR=`mktemp -d`
export PYTHONPATH="/@OODIR@/program"
if [ -L /usr/lib/libreoffice/basis-link ]; then
d=/var/lib/libreoffice/`readlink /usr/lib/libreoffice/basis-link`/
else
d=/usr/lib/libreoffice
fi
if [ -e /usr/lib/libreoffice/share/prereg/bundled ] && readlink /usr/lib/libreoffice/share/prereg/bundled 2>&1 >/dev/null && [ -e /usr/lib/libreoffice/program/unopkg.bin ]; then
/usr/lib/libreoffice/program/unopkg sync -v --shared \
"-env:BUNDLED_EXTENSIONS_USER=file:///usr/lib/libreoffice/share/prereg/bundled" \
"-env:UserInstallation=file://$INSTDIR" \
"-env:UNO_JAVA_JFW_INSTALL_DATA=file://$d/share/config/javasettingsunopkginstall.xml" \
"-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1"
fi
}
|