Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 3fddaf26195393acf111df4bf442fbfc > scriptlet

myspell-fi_FI-1.0.2-32.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