Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > e9cb61dc9246738d05887cbb106fb3a0 > scriptlet

myspell-hu_HU-1.0.2-19.2mdv2008.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