Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-updates > by-pkgid > 30bb5e0eb33857f5c809ea4772c22186 > scriptlet

myspell-fi_FI-1.0.2-19.2mdv2008.1.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