Sophie

Sophie

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

myspell-hyph-nl-1.0.2-0.20040222.9mdk.noarch.rpm

PREUN

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

POSTIN

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