Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > media > main > by-pkgid > 8be9cce74a72760b00b546a073c71cc4 > scriptlet

myspell-hyph-pl-1.0.2-0.20030913.9mdk.noarch.rpm

PREUN

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

POSTIN

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