Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > b544c6065ca0047657bae5b17cbf49e0 > scriptlet

myspell-hyph-is-1.0.2-0.20030918.9mdk.noarch.rpm

PREUN

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

POSTIN

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