Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 1d26d99a0611bd59767f985305d5c124 > scriptlet

myspell-ca_ES-1.0.2-0.20030907.6.noarch.rpm

PREUN

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

POSTIN

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