Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > media > main > by-pkgid > d1cf7e36fd426476ebec064379dd6504 > scriptlet

myspell-hyph-lt-1.0.2-0.20040111.9mdk.noarch.rpm

PREUN

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

POSTIN

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