Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > media > main > by-pkgid > 22afa56a1566fc541c73c16d20207cd3 > scriptlet

myspell-hyph-el-1.0.2-0.20040409.9mdk.noarch.rpm

PREUN

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

POSTIN

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