# Install dictionary extensions for spellchecking
if [ -x "usr/lib64/ooo-3.2/program/unopkg" ]; then
  UNOPKGTMP=$TMP/$$$$$$
  if [ -f "usr/lib64/ooo-3.2/share/extension/install/dict-de.oxt" ]; then
    usr/lib64/ooo-3.2/program/unopkg add --shared --shared \
        usr/lib64/ooo-3.2/share/extension/install/dict-de.oxt \
        "-env:UserInstallation=file:///$UNOPKGTMP" 2>/dev/null 1>/dev/null
  fi;
  rm -rf $UNOPKGTMP
fi
