Sophie

Sophie

distrib > Mandriva > 2011.0 > x86_64 > media > main-release > by-pkgid > df62b07918f071919f21c31480a9e9e3 > scriptlet

myspell-fi_FI-1.0.2-31.noarch.rpm

PREUN

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

POSTIN

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