Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > c39b1ad4c770f91664d3498a628dfe7a > scriptlet

myspell-hyph-ru-1.0.2-0.20020727.6.noarch.rpm

PREUN

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

POSTIN

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