Sophie

Sophie

distrib > PLD > th > x86_64 > by-pkgid > af270fad825dddf38a4cae0bd9750e11 > scriptlet

myspell-zu_ZA-1.0.3-0.20060124.3.noarch.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	/bin/sed -i -e '/^DICT.*zu.*ZA.*zu_ZA$/d' /usr/share/myspell/dictionary.lst
fi

##
## Scripts for hyphenation
##

POSTIN

/bin/sh
umask 002
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^DICT[ \t]*zu[ \t]*ZA[ \t]*zu_ZA" /usr/share/myspell/dictionary.lst; then
	echo "DICT zu ZA zu_ZA" >> /usr/share/myspell/dictionary.lst
fi