Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 00a288153af9e135d409aa4d4b89f941 > scriptlet

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

PREUN

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

POSTIN

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