Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 5af1435f217c85115fac8acfb90391b0 > scriptlet

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

PREUN

/bin/sh
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*fr\s*FR\s*hyph_fr$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*fr\s*BE\s*hyph_fr$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*fr\s*CA\s*hyph_fr$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*fr\s*LU\s*hyph_fr$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*fr\s*MC\s*hyph_fr$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*fr\s*CH\s*hyph_fr$/ or print" /usr/share/dict/ooo/dictionary.lst
fi

POSTIN

/bin/sh
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*fr[ \t]*FR[ \t]*hyph_fr" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH fr FR hyph_fr" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*fr[ \t]*BE[ \t]*hyph_fr" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH fr BE hyph_fr" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*fr[ \t]*CA[ \t]*hyph_fr" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH fr CA hyph_fr" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*fr[ \t]*LU[ \t]*hyph_fr" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH fr LU hyph_fr" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*fr[ \t]*MC[ \t]*hyph_fr" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH fr MC hyph_fr" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*fr[ \t]*CH[ \t]*hyph_fr" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH fr CH hyph_fr" >> /usr/share/dict/ooo/dictionary.lst
fi