post_install() {
  kbuildsycoca4 &> /dev/null
  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
  /sbin/ldconfig -r .
}

post_upgrade() {
  post_install
  /sbin/ldconfig -r .
}

post_remove() {
  post_install
  /sbin/ldconfig -r .
}
