Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > main > by-pkgid > fc844eb108e09b534c8cbf49336a70bf > scriptlet

myspell-et_EE-1.0.2-0.20040621.9mdk.noarch.rpm

PREUN

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

POSTIN

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