1 2 3 4 5 6 7 8 9 10 11 12 13
post_install() { which update-desktop-database >/dev/null && update-desktop-database -q which update-mime-database >/dev/null && update-mime-database usr/share/mime > /dev/null which gtk-update-icon-cache >/dev/null && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } post_upgrade() { post_install } post_remove() { post_install }