Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > main > by-pkgid > c0b79de2e64957e727c441d473391369 > scriptlet

myspell-thes-pl_PL-1.0.2-0.20040803.9mdk.noarch.rpm

PREUN

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

POSTIN

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