Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > main > by-pkgid > 92ce9caa089cf0ff5a0ebf773c602786 > scriptlet

myspell-hyph-bg-1.0.2-0.20040417.9mdk.noarch.rpm

PREUN

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

POSTIN

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