Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 6c5ffecc11d88d05ac216ecc7ab07711 > scriptlet

myspell-hyph-et-1.0.2-0.20040621.9mdk.noarch.rpm

PREUN

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

POSTIN

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