Sophie

Sophie

distrib > Mandriva > 10.1 > i586 > by-pkgid > 5384a2356487c3f250bd685430296dae > scriptlet

myspell-hyph-pl-1.0.2-0.20030913.8mdk.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