Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > by-pkgid > 7a7158fdbcd98371d3775c24b3213db3 > scriptlet

myspell-hyph-sl-1.0.2-0.20021003.1mdk.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