Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 56df1ca0f8b175e8d006d9dc180a6fda > scriptlet

myspell-it_IT-1.0.2-0.20040624.6.noarch.rpm

PREUN

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

POSTIN

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