summaryrefslogtreecommitdiffstats
path: root/libreoffice
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2011-02-28 18:17:20 +0000
committer Eric Hameleers <alien@slackware.com>2011-02-28 18:17:20 +0000
commit4d5816b74487df4ff3e51b21ccf5eaa1239ca81c (patch)
treeca2895c3639e2ef64612139e13c373573b1d74e6 /libreoffice
parent4e260e789bb8814e7a1ba252aa4b866a2bfcdb67 (diff)
downloadasb-4d5816b74487df4ff3e51b21ccf5eaa1239ca81c.tar.gz
asb-4d5816b74487df4ff3e51b21ccf5eaa1239ca81c.tar.xz
Use "--suppress-license" to cope with the dutch license. Remove already present dictoinary before installing the new one.
Diffstat (limited to 'libreoffice')
-rw-r--r--libreoffice/build/doinst.sh.l10n6
1 files changed, 5 insertions, 1 deletions
diff --git a/libreoffice/build/doinst.sh.l10n b/libreoffice/build/doinst.sh.l10n
index 2769eeb6..50b1707b 100644
--- a/libreoffice/build/doinst.sh.l10n
+++ b/libreoffice/build/doinst.sh.l10n
@@ -2,7 +2,11 @@
if [ -x "usr/lib@LIBDIRSUFFIX@/@PRGNAM@/program/unopkg" ]; then
UNOPKGTMP=$(mktemp -d unopkg.XXXXXX) || UNOPKGTMP=/tmp/unopkg.$$
if [ -f "usr/lib@LIBDIRSUFFIX@/@PRGNAM@/share/extensions/install/dict-@LANG@.oxt" ]; then
- chroot . /usr/lib@LIBDIRSUFFIX@/@PRGNAM@/program/unopkg add --shared \
+ echo "Installing shared version of 'dict-@LANG@.oxt' ..."
+ chroot . /usr/lib@LIBDIRSUFFIX@/@PRGNAM@/program/unopkg remove --shared \
+ dict-@LANG@.oxt 1>/dev/null 2>/dev/null
+ chroot . /usr/lib@LIBDIRSUFFIX@/@PRGNAM@/program/unopkg add \
+ --suppress-license --shared \
usr/lib@LIBDIRSUFFIX@/@PRGNAM@/share/extensions/install/dict-@LANG@.oxt \
"-env:UserInstallation=file:///$UNOPKGTMP" 1>/dev/null 2>/dev/null
fi