Début de support Coda dans OpenOffice.
[macros-openoffice.git] / auf-poste-client-reflets / debian / postinst
CommitLineData
73de9e1e
P
1#!/bin/sh
2
3exit 0
4
5set -e
6
7add_extension() {
8 echo -n "Adding extension $1..."
9 INSTDIR=`mktemp -d`
10 /usr/lib/openoffice/program/unopkg add --shared $1 \
11 "-env:UserInstallation=file:///$INSTDIR" \
12 '-env:UNO_JAVA_JFW_INSTALL_DATA=$ORIGIN/../share/config/javasettingsunopkginstall.xml' \
13 "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1"
14 if [ -n $INSTDIR ]; then rm -rf $INSTDIR; fi
15 echo " done."
16}
17
18if [ "$1" = "configure" -o "$1" = "upgrade" ]; then
19 add_extension /usr/lib/openoffice/share/extension/install/auf-reflets-tse.oxt
20fi
21
22exit 0