Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > main-testing > by-pkgid > d41336a6d91d0252056b821641237433 > scriptlet

myspell-is_IS-1.0.2-29.1mdv2009.1.noarch.rpm

PREUN

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

POSTIN

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