Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > main > by-pkgid > 865c4f93ac16d03a3be6bd59656b3793 > scriptlet

myspell-bg_BG-1.0.2-0.20040402.9mdk.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