Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > 3fdb8f97b144ec0a6e38a51db6ce9304 > scriptlet

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

PREUN

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

POSTIN

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