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