Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 465653de143ab0fac4f35f4ed5fd1bf9 > scriptlet

myspell-hyph-de-1.0.2-0.20020727.6.noarch.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	perl -ni -e "/^HYPH\s*de\s*DE\s*hyph_de$/ or print" /usr/share/myspell/dictionary.lst
	perl -ni -e "/^HYPH\s*de\s*AT\s*hyph_de$/ or print" /usr/share/myspell/dictionary.lst
	perl -ni -e "/^HYPH\s*de\s*CH\s*hyph_de$/ or print" /usr/share/myspell/dictionary.lst
	perl -ni -e "/^HYPH\s*de\s*LI\s*hyph_de$/ or print" /usr/share/myspell/dictionary.lst
	perl -ni -e "/^HYPH\s*de\s*LU\s*hyph_de$/ or print" /usr/share/myspell/dictionary.lst
fi

POSTIN

/bin/sh
umask 002
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*de[ \t]*DE[ \t]*hyph_de" /usr/share/myspell/dictionary.lst; then
	echo "HYPH de DE hyph_de" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*de[ \t]*AT[ \t]*hyph_de" /usr/share/myspell/dictionary.lst; then
	echo "HYPH de AT hyph_de" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*de[ \t]*CH[ \t]*hyph_de" /usr/share/myspell/dictionary.lst; then
	echo "HYPH de CH hyph_de" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*de[ \t]*LI[ \t]*hyph_de" /usr/share/myspell/dictionary.lst; then
	echo "HYPH de LI hyph_de" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*de[ \t]*LU[ \t]*hyph_de" /usr/share/myspell/dictionary.lst; then
	echo "HYPH de LU hyph_de" >> /usr/share/myspell/dictionary.lst
fi