Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 77f6e19ffd821ba2444899d5136055db > scriptlet

myspell-hyph-sk-1.0.2-0.20030101.6.noarch.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	perl -ni -e "/^HYPH\s*sk\s*SK\s*hyph_sk$/ or print" /usr/share/myspell/dictionary.lst
fi

POSTIN

/bin/sh
umask 002
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*sk[ \t]*SK[ \t]*hyph_sk" /usr/share/myspell/dictionary.lst; then
	echo "HYPH sk SK hyph_sk" >> /usr/share/myspell/dictionary.lst
fi