#!/bin/bash
PROGDIR=/usr/lib/openoffice
echo "Eesti keele speller ja poolitaja OpenOffice 2.0.4-le"
echo "Versioon 2.0.680b"
cp ./libspellet680li.so $PROGDIR/program/
cp ./libhyphet680li.so $PROGDIR/program/
cp ./fslinget.lex $PROGDIR/share/dict/
export LD_LIBRARY_PATH=$PROGDIR/program
./regcomp -register -r $PROGDIR/program/services.rdb -c $PROGDIR/program/libspellet680li.so
./regcomp -register -r $PROGDIR/program/services.rdb -c $PROGDIR/program/libhyphet680li.so
echo "Valmis."
