post_install() {
    update-desktop-database
    update-mime-database /usr/share/mime
    gtk-update-icon-cache -qf /usr/share/icons/hicolor
}

post_upgrade() {
    post_install
}

post_remove() {
    post_install
}
