Sophie

Sophie

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

myspell-hyph-sl-1.0.2-0.20021003.9mdk.noarch.rpm

PREUN

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

POSTIN

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