post_install()
{
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-mime-database /usr/share/mime
update-desktop-database -q
}
post_upgrade()
{
[[ "`vercmp $2 v200`" -lt 0 ]] && \
echo -e "\n >>> You should reset your key combination due to a bug in python-keybinder."
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_remove()
{
post_install
}