Sophie

Sophie

distrib > Mandriva > 9.0 > x86_64 > media > main > by-pkgid > e70584e1097d4712a7ed84d288637dc9 > scriptlet

myspell-hyph-fr-1.0.1-0.20020727.4mdk.noarch.rpm

PREUN

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

POSTIN

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