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