post_install() { [[ -x /usr/bin/update-desktop-database ]] && update-desktop-database -q [[ -x /usr/bin/xdg-icon-resource ]] && xdg-icon-resource forceupdate --theme hicolor [[ -x /usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -f -q /usr/share/icons/hicolor } post_upgrade() { post_install } post_remove() { post_install }