PREUN
/bin/sh
if [ "$1" = "0" ]; then
perl -ni -e "/^HYPH\s*it\s*IT\s*hyph_it$/ or print" /usr/share/myspell/dictionary.lst
perl -ni -e "/^HYPH\s*it\s*CH\s*hyph_it$/ or print" /usr/share/myspell/dictionary.lst
fi
POSTIN
/bin/sh
umask 002
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*it[ \t]*IT[ \t]*hyph_it" /usr/share/myspell/dictionary.lst; then
echo "HYPH it IT hyph_it" >> /usr/share/myspell/dictionary.lst
fi
if [ ! -f "/usr/share/myspell/dictionary.lst" ] || ! grep -q "^HYPH[ \t]*it[ \t]*CH[ \t]*hyph_it" /usr/share/myspell/dictionary.lst; then
echo "HYPH it CH hyph_it" >> /usr/share/myspell/dictionary.lst
fi