Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > main > by-pkgid > 96262c57276593f5b43879cc77bfb0db > scriptlet

myspell-hyph-sk-1.0.2-0.20030101.1mdk.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