post_install() {
  if type -P update-desktop-database &> /dev/null; then
    update-desktop-database -q
  fi

  if type -P gtk-update-icon-cache &> /dev/null; then
    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
  fi
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}
