Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > main > by-pkgid > b83cdf372c3dca66bb81d48a238238b3 > scriptlet

myspell-hyph-cs-1.0.2-0.20030101.9mdk.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