Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > main-release > by-pkgid > d6be7fccf425ca7eed40b0b06454e486 > scriptlet

myspell-hu_HU-1.0.2-27mdv2009.1.noarch.rpm

PREUN

/bin/sh
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^DICT\s*hu\s*HU\s*hu_HU$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*hu\s*HU\s*hyph_hu_HU$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^THES\s*hu\s*HU\s*th_hu_HU$/ or print" /usr/share/dict/ooo/dictionary.lst
fi

POSTIN

/bin/sh
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^DICT[ \t]*hu[ \t]*HU[ \t]*hu_HU" /usr/share/dict/ooo/dictionary.lst
then
  echo "DICT hu HU hu_HU" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*hu[ \t]*HU[ \t]*hyph_hu_HU" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH hu HU hyph_hu_HU" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^THES[ \t]*hu[ \t]*HU[ \t]*th_hu_HU" /usr/share/dict/ooo/dictionary.lst
then
  echo "THES hu HU th_hu_HU" >> /usr/share/dict/ooo/dictionary.lst
fi