Sophie

Sophie

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

myspell-ga_IE-1.0.2-0.20040404.6.noarch.rpm

PREUN

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

POSTIN

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