post_install() { xdg-icon-resource forceupdate --theme hicolor &> /dev/null update-mime-database usr/share/mime &> /dev/null /usr/bin/kbuildsycoca4 --global --noincremental &> /dev/null } post_upgrade() { post_install $1 } post_remove() { post_install $1 }