Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 006e1b4b9ef7b0eaaf5bc11697a4a758 > scriptlet

myspell-hyph-it-1.0.2-0.20030904.6.noarch.rpm

PREUN

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

POSTIN

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