Sophie

Sophie

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