Sophie

Sophie

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