post_install() { if [[ -x /usr/bin/update-desktop-database ]]; then update-desktop-database -q fi if [[ -x /usr/bin/xdg-icon-resource ]]; then xdg-icon-resource forceupdate --theme hicolor fi if [[ -x /usr/bin/gtk-update-icon-cache ]]; then gtk-update-icon-cache -f -q /usr/share/icons/hicolor fi } post_upgrade() { post_install } post_remove() { post_install } # vim: ts=2 sw=2 et: