Sophie

Sophie

distrib > Mandriva > 9.0 > x86_64 > media > main > by-pkgid > cc79c91bf68f328459de93af77e78d96 > scriptlet

myspell-hyph-it-1.0.1-0.20020727.4mdk.noarch.rpm

PREUN

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

POSTIN

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