Sophie

Sophie

distrib > Mandriva > 9.1 > i586 > by-pkgid > 761d500d23e815b2f31bcd995206fc50 > scriptlet

myspell-hyph-sl-1.0.1-0.20021003.5mdk.noarch.rpm

PREUN

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

POSTIN

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