Sophie

Sophie

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

myspell-sv_SE-1.0.2-0.20030814.6.noarch.rpm

PREUN

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

POSTIN

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