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