PREUN
/bin/sh
if [ "$1" = "0" ]; then
perl -ni -e "/^HYPH\s*en\s*US\s*hyph_en$/ or print" /usr/share/myspell/dictionary.lst
perl -ni -e "/^HYPH\s*en\s*CA\s*hyph_en$/ or print" /usr/share/myspell/dictionary.lst
perl -ni -e "/^HYPH\s*en\s*GB\s*hyph_en$/ or print" /usr/share/myspell/dictionary.lst
perl -ni -e "/^HYPH\s*en\s*NZ\s*hyph_en$/ or print" /usr/share/myspell/dictionary.lst
perl -ni -e "/^HYPH\s*en\s*AU\s*hyph_en$/ or print" /usr/share/myspell/dictionary.lst
perl -ni -e "/^HYPH\s*en\s*ZA\s*hyph_en$/ or print" /usr/share/myspell/dictionary.lst
perl -ni -e "/^HYPH\s*en\s*IE\s*hyph_en$/ or print" /usr/share/myspell/dictionary.lst
perl -ni -e "/^HYPH\s*en\s*JM\s*hyph_en$/ or print" /usr/share/myspell/dictionary.lst
perl -ni -e "/^HYPH\s*en\s*PH\s*hyph_en$/ or print" /usr/share/myspell/dictionary.lst
perl -ni -e "/^HYPH\s*en\s*TT\s*hyph_en$/ or print" /usr/share/myspell/dictionary.lst
perl -ni -e "/^HYPH\s*en\s*ZW\s*hyph_en$/ or print" /usr/share/myspell/dictionary.lst
fi
POSTIN
/bin/sh
umask 002
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*en[ \t]*US[ \t]*hyph_en" /usr/share/myspell/dictionary.lst; then
echo "HYPH en US hyph_en" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*en[ \t]*CA[ \t]*hyph_en" /usr/share/myspell/dictionary.lst; then
echo "HYPH en CA hyph_en" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*en[ \t]*GB[ \t]*hyph_en" /usr/share/myspell/dictionary.lst; then
echo "HYPH en GB hyph_en" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*en[ \t]*NZ[ \t]*hyph_en" /usr/share/myspell/dictionary.lst; then
echo "HYPH en NZ hyph_en" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*en[ \t]*AU[ \t]*hyph_en" /usr/share/myspell/dictionary.lst; then
echo "HYPH en AU hyph_en" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*en[ \t]*ZA[ \t]*hyph_en" /usr/share/myspell/dictionary.lst; then
echo "HYPH en ZA hyph_en" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*en[ \t]*IE[ \t]*hyph_en" /usr/share/myspell/dictionary.lst; then
echo "HYPH en IE hyph_en" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*en[ \t]*JM[ \t]*hyph_en" /usr/share/myspell/dictionary.lst; then
echo "HYPH en JM hyph_en" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*en[ \t]*PH[ \t]*hyph_en" /usr/share/myspell/dictionary.lst; then
echo "HYPH en PH hyph_en" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*en[ \t]*TT[ \t]*hyph_en" /usr/share/myspell/dictionary.lst; then
echo "HYPH en TT hyph_en" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*en[ \t]*ZW[ \t]*hyph_en" /usr/share/myspell/dictionary.lst; then
echo "HYPH en ZW hyph_en" >> /usr/share/myspell/dictionary.lst
fi