Sophie

Sophie

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

myspell-sk_SK-1.0.2-0.20040118.6.noarch.rpm

PREUN

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

POSTIN

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