Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > media > main > by-pkgid > 2615fd732e55c692cd4ae3ff9c3a7dc2 > scriptlet

myspell-hyph-fi-1.0.2-0.20031125.9mdk.noarch.rpm

PREUN

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

##
## Scripts for thesaurus
##

POSTIN

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