2
# This maintainer script was originally written by Harri Pitkänen, Teemu Likonen
3
# and Timo Jyrinki and was adopted from the openoffice.org-voikko package. It
4
# was modified by Sebastian Humenda to fit for the AccessODF package.
11
echo -n "Adding extension $1..."
13
unopkg add --shared $1
14
#"-env:UserInstallation=file:///$INSTDIR" \
15
#'-env:UNO_JAVA_JFW_INSTALL_DATA=$ORIGIN/../share/config/javasettingsunopkginstall.xml' \
16
#"-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1"
17
#if [ -n $INSTDIR ]; then rm -rf $INSTDIR; fi
21
if [ "$1" = "configure" -o "$1" = "upgrade" ]; then
22
add_extension /usr/share/accessodf/AccessODF.oxt