Sophie

Sophie

distrib > Mandriva > 9.0 > x86_64 > media > main > by-pkgid > 160f73834b35417f178614031dc6b1fc > scriptlet

myspell-hyph-de-1.0.1-0.20020727.4mdk.noarch.rpm

PREUN

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

POSTIN

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