Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > by-pkgid > fc7e90a09b4769467f0e95f25c5e4fa7 > scriptlet

myspell-hyph-ga-1.0.2-0.20040212.9mdk.noarch.rpm

PREUN

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

POSTIN

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