Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > main > by-pkgid > 79160c9699db865111fec2ab5da18ad8 > 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