Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > media > main > by-pkgid > 3e193dcc8d219a0ae04c7bf3c935986b > scriptlet

myspell-hyph-da-1.0.2-0.20020727.9mdk.noarch.rpm

PREUN

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

POSTIN

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