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