Sophie

Sophie

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

myspell-thes-it_IT-1.0.2-0.20040222.9mdk.noarch.rpm

PREUN

/bin/sh
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^THES\s*it\s*IT\s*th_it_IT$/ or print" /usr/share/dict/ooo/dictionary.lst
fi

POSTIN

/bin/sh
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^THES[ \t]*it[ \t]*IT[ \t]*th_it_IT" /usr/share/dict/ooo/dictionary.lst
then
  echo "THES it IT th_it_IT" >> /usr/share/dict/ooo/dictionary.lst
fi