post_install() { echo "Updating icon cache" xdg-icon-resource forceupdate --theme hicolor echo "Updating desktop database" update-desktop-database -q echo "Updating mime database" update-mime-database /usr/share/mime } post_upgrade() { post_install } post_remove() { post_install }