Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 5c3556b6f23407579704707f502846eb > scriptlet

myspell-hu_HU-1.0.2-0.20040331.6.noarch.rpm

PREUN

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

POSTIN

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