Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > main > by-pkgid > d9e589859f8bc9eb84bcd190063ef513 > 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