post_upgrade() {
    update-desktop-database -q
    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}

post_install() {
    post_upgrade
}

post_remove() {
    echo "openra downloaded data files to ~/.openra/Content and you might want"
    echo "to delete those."
    post_upgrade
}
