This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

[KUPFER.INSTALLt] By SpepS

By: a guest on Oct 19th, 2010  |  syntax: None  |  size: 0.39 KB  |  views: 63  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }
clone this paste RAW Paste Data