post_install() {
  update-mime-database usr/share/mime &> /dev/null
}

post_upgrade() {
  post_install $1
}

post_remove() {
  post_install $1
}