Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > main > by-pkgid > 0870c1d682d26cd3a26b73a279b4cd2c > scriptlet

myspell-hyph-es-1.0.2-0.20021030.1mdk.noarch.rpm

PREUN

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

POSTIN

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