Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > fc9ec93bad73b8c522dc9f7152345a19 > scriptlet

myspell-hyph-hu-1.0.2-0.20031107.9mdk.noarch.rpm

PREUN

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

POSTIN

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