post_install() {
  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
  update-desktop-database -q
}

post_upgrade() {
    post_install $1
}

post_remove() {
    post_install $1
}
