Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > 4cfb2d9cacdd5b7b82451b17089d0ca8 > scriptlet

myspell-en_AU-1.0.2-23mdv2009.0.noarch.rpm

PREUN

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

POSTIN

/bin/sh
if [[ ! -f "/usr/share/dict/ooo/dictionary.lst" ]] ||       ! grep -q "^DICT[ \t]*en[ \t]*AU[ \t]*en_AU" /usr/share/dict/ooo/dictionary.lst
then
  echo "DICT en AU en_AU" >> /usr/share/dict/ooo/dictionary.lst
fi