#!/bin/sh
# A script to run TextMaker
if test ! -e $HOME/.softmaker/hunspell
then
    mkdir -p $HOME/.softmaker/hunspell/
    cp -r /usr/lib64/softmaker-freeoffice/hunspell/* $HOME/.softmaker/hunspell/
fi
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/softmaker-freeoffice/dpf /usr/lib64/softmaker-freeoffice/textmaker "$@"
