Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 912c9d9093e382a45c585c388b09eb6a > scriptlet

myspell-thes-fr_FR-1.0.2-0.20030819.6.noarch.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	perl -ni -e "/^THES\s*fr\s*FR\s*th_fr_FR$/ or print" /usr/share/myspell/dictionary.lst
	perl -ni -e "/^THES\s*fr\s*BE\s*th_fr_FR$/ or print" /usr/share/myspell/dictionary.lst
	perl -ni -e "/^THES\s*fr\s*CA\s*th_fr_FR$/ or print" /usr/share/myspell/dictionary.lst
	perl -ni -e "/^THES\s*fr\s*CH\s*th_fr_FR$/ or print" /usr/share/myspell/dictionary.lst
	perl -ni -e "/^THES\s*fr\s*LU\s*th_fr_FR$/ or print" /usr/share/myspell/dictionary.lst
	perl -ni -e "/^THES\s*fr\s*MC\s*th_fr_FR$/ or print" /usr/share/myspell/dictionary.lst
fi

POSTIN

/bin/sh
umask 002
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^THES[ \t]*fr[ \t]*FR[ \t]*th_fr_FR" /usr/share/myspell/dictionary.lst; then
	echo "THES fr FR th_fr_FR" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^THES[ \t]*fr[ \t]*BE[ \t]*th_fr_FR" /usr/share/myspell/dictionary.lst; then
	echo "THES fr BE th_fr_FR" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^THES[ \t]*fr[ \t]*CA[ \t]*th_fr_FR" /usr/share/myspell/dictionary.lst; then
	echo "THES fr CA th_fr_FR" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^THES[ \t]*fr[ \t]*CH[ \t]*th_fr_FR" /usr/share/myspell/dictionary.lst; then
	echo "THES fr CH th_fr_FR" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^THES[ \t]*fr[ \t]*LU[ \t]*th_fr_FR" /usr/share/myspell/dictionary.lst; then
	echo "THES fr LU th_fr_FR" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^THES[ \t]*fr[ \t]*MC[ \t]*th_fr_FR" /usr/share/myspell/dictionary.lst; then
	echo "THES fr MC th_fr_FR" >> /usr/share/myspell/dictionary.lst
fi