Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 2cec0276ae6346afa571c7ed9e4f07fe > scriptlet

myspell-ms_MY-1.0.2-0.20040907.6.noarch.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	perl -ni -e "/^DICT\s*ms\s*MY\s*ms_MY$/ or print" /usr/share/myspell/dictionary.lst
fi

POSTIN

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