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