Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 0a869e6ca0725a0ee5dc9e9e4c735421 > scriptlet

myspell-sw_KE-1.0.2-0.20040516.6.noarch.rpm

PREUN

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

POSTIN

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