Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > main > by-pkgid > 3f68774c6536de150a1d601d7ade6d06 > scriptlet

myspell-thes-de_DE-1.0.2-0.20040702.9mdk.noarch.rpm

PREUN

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

POSTIN

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