Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > main-release > by-pkgid > 145a4ed02f8bd91b0b0835c1a58c040b > scriptlet

myspell-lt_LT-1.0.2-27mdv2009.1.noarch.rpm

PREUN

/bin/sh
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^DICT\s*lt\s*LT\s*lt_LT$/ or print" /usr/share/dict/ooo/dictionary.lst
fi
if [[ "$1" = "0" ]]; then
  perl -ni -e "/^HYPH\s*lt\s*LT\s*hyph_lt_LT$/ or print" /usr/share/dict/ooo/dictionary.lst
fi

POSTIN

/bin/sh
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^DICT[ \t]*lt[ \t]*LT[ \t]*lt_LT" /usr/share/dict/ooo/dictionary.lst
then
  echo "DICT lt LT lt_LT" >> /usr/share/dict/ooo/dictionary.lst
fi
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*lt[ \t]*LT[ \t]*hyph_lt_LT" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH lt LT hyph_lt_LT" >> /usr/share/dict/ooo/dictionary.lst
fi