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