Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 7b5e4cbbb4c568f05a4a3cf57139d9b1 > scriptlet

myspell-hyph-id-1.0.2-0.20040810.6.noarch.rpm

PREUN

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

POSTIN

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