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