Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > main > by-pkgid > 4cbf7039891228a722c64dee8481886d > scriptlet

myspell-hyph-de-1.0.2-0.20020727.9mdk.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*AT\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
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*de\s*LI\s*hyph_de$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*de\s*LU\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]*AT[ \t]*hyph_de" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH de AT 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
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*de[ \t]*LI[ \t]*hyph_de" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH de LI hyph_de" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*de[ \t]*LU[ \t]*hyph_de" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH de LU hyph_de" >> /usr/share/dict/ooo/dictionary.lst
fi