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