Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > main-testing > by-pkgid > 15187e3f5eba06f0b3588fe72dcf87c4 > scriptlet

myspell-sk_SK-1.0.2-29mdv2009.1.noarch.rpm

PREUN

/bin/sh
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^DICT\s*sk\s*SK\s*sk_SK$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*sk\s*SK\s*hyph_sk_SK$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^THES\s*sk\s*SK\s*th_sk_SK$/ or print" /usr/share/dict/ooo/dictionary.lst
fi

POSTIN

/bin/sh
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^DICT[ \t]*sk[ \t]*SK[ \t]*sk_SK" /usr/share/dict/ooo/dictionary.lst
then
  echo "DICT sk SK sk_SK" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*sk[ \t]*SK[ \t]*hyph_sk_SK" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH sk SK hyph_sk_SK" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^THES[ \t]*sk[ \t]*SK[ \t]*th_sk_SK" /usr/share/dict/ooo/dictionary.lst
then
  echo "THES sk SK th_sk_SK" >> /usr/share/dict/ooo/dictionary.lst
fi