Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > main > by-pkgid > 6943d26f6f58ac385c7451b2d1d8f612 > scriptlet

myspell-lt_LT-1.0.2-0.20030219.1mdk.noarch.rpm

PREUN

/bin/sh
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^DICT\s*lt\s*LT\s*lt_LT$/ or print" /usr/share/dict/ooo/dictionary.lst
fi

##
## Scripts for hyphenation
##

POSTIN

/bin/sh
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^DICT[ \t]*lt[ \t]*LT[ \t]*lt_LT" /usr/share/dict/ooo/dictionary.lst
then
  echo "DICT lt LT lt_LT" >> /usr/share/dict/ooo/dictionary.lst
fi