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

post_upgrade() {
  post_install $1
}

post_remove() {
  post_install $1
}