Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > main-testing > by-pkgid > 0c46b45c6032b6f066c1d73eef9dd91c > scriptlet

myspell-eu_ES-1.0.2-29mdv2009.1.noarch.rpm

PREUN

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

POSTIN

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