Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > main > by-pkgid > 9dbc8102fd47191ff86d5962d8d4e94d > scriptlet

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

PREUN

/bin/sh
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*en\s*US\s*hyph_en$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*en\s*CA\s*hyph_en$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*en\s*GB\s*hyph_en$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*en\s*NZ\s*hyph_en$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*en\s*AU\s*hyph_en$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*en\s*ZA\s*hyph_en$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*en\s*IE\s*hyph_en$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*en\s*JM\s*hyph_en$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*en\s*PH\s*hyph_en$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*en\s*TT\s*hyph_en$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*en\s*ZW\s*hyph_en$/ or print" /usr/share/dict/ooo/dictionary.lst
fi

POSTIN

/bin/sh
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*en[ \t]*US[ \t]*hyph_en" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH en US hyph_en" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*en[ \t]*CA[ \t]*hyph_en" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH en CA hyph_en" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*en[ \t]*GB[ \t]*hyph_en" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH en GB hyph_en" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*en[ \t]*NZ[ \t]*hyph_en" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH en NZ hyph_en" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*en[ \t]*AU[ \t]*hyph_en" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH en AU hyph_en" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*en[ \t]*ZA[ \t]*hyph_en" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH en ZA hyph_en" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*en[ \t]*IE[ \t]*hyph_en" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH en IE hyph_en" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*en[ \t]*JM[ \t]*hyph_en" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH en JM hyph_en" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*en[ \t]*PH[ \t]*hyph_en" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH en PH hyph_en" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*en[ \t]*TT[ \t]*hyph_en" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH en TT hyph_en" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*en[ \t]*ZW[ \t]*hyph_en" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH en ZW hyph_en" >> /usr/share/dict/ooo/dictionary.lst
fi