Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > media > main > by-pkgid > fc139b6e744909711f558e5401f0f29d > 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