1. post_install()
  2. {
  3. gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
  4. update-mime-database /usr/share/mime
  5. update-desktop-database -q
  6. }
  7.  
  8. post_upgrade()
  9. {
  10. [[ "`vercmp $2 v200`" -lt 0 ]] && \
  11. echo -e "\n >>> You should reset your key combination due to a bug in python-keybinder."
  12.  
  13. gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
  14. }
  15.  
  16. post_remove()
  17. {
  18. post_install
  19. }