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