Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 7f6c4f20080962624693255d5aa3e62a > scriptlet

myspell-hyph-cs-1.0.2-0.20030101.1mdk.noarch.rpm

PREUN

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

POSTIN

/bin/sh
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^HYPH[ \t]*cs[ \t]*CZ[ \t]*hyph_cs" /usr/share/dict/ooo/dictionary.lst
then
  echo "HYPH cs CZ hyph_cs" >> /usr/share/dict/ooo/dictionary.lst
fi