post_install() {
  [ -x usr/bin/update-desktop-database ] && update-desktop-database -q || true
  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}

post_upgrade() {
  [ -x usr/bin/update-desktop-database ] && update-desktop-database -q || true
}

post_remove() {
  [ -x usr/bin/update-desktop-database ] && update-desktop-database -q || true
}
