Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > aed5c5698e4190b81ca4557c09e58528 > scriptlet

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

PREUN

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

POSTIN

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