Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > main > by-pkgid > 63bb4c672d966b50d8a0f2010e925f49 > scriptlet

myspell-hyph-it-1.0.2-0.20030809.1mdk.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