Sophie

Sophie

distrib > Mandriva > 9.0 > x86_64 > by-pkgid > e1151be3436314076f621d7032c91cee > scriptlet

myspell-hyph-da-1.0.1-0.20020727.4mdk.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