post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
}

post_upgrade() {
post_install $1
}

post_remove() {
update-desktop-database -q
gtk-update-icon-cache -q -f -t usr/share/icons/hicolor
}