Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 80efe6613a8734a24f2a0fca81fab666 > scriptlet

myspell-hyph-sv-1.0.2-0.20030814.6.noarch.rpm

PREUN

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

POSTIN

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