Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > media > main-release > by-pkgid > 961bd5a8b77860e7983d85ac9e29a9a2 > scriptlet

myspell-hyph-sk-1.0.2-0.20030101.9mdk.noarch.rpm

PREUN

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

POSTIN

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