Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 3db5274bc2962327a5a1f0cf9af5d644 > scriptlet

myspell-hyph-el-1.0.2-0.20040409.6.noarch.rpm

PREUN

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

POSTIN

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