post_install() {
  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
  update-desktop-database -q
}

post_upgrade() {
  post_install
  cat << EOF

  # Google is now requiring an API key in order to access YouTube Data web services.
  # Create a "Browser Key" at https://console.developers.google.com and put it in
  # /etc/profile.d/minitube.sh as the GOOGLE_API_KEY environmental variable.

EOF
}

post_remove() {
  post_install
}
