post_install() {
  # Ignore failures because it's only an opt dep
  update-desktop-database -q 2>/dev/null || :
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}
