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