Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > main > by-pkgid > 1b10c32270a20c4e3a7c4301e4da7527 > scriptlet

myspell-hyph-hu-1.0.2-0.20030325.1mdk.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