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

Untitled

By: a guest on Dec 23rd, 2011  |  syntax: Bash  |  size: 0.29 KB  |  views: 125  |  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. pkgname=mathematica
  2.  
  3. post_install() {
  4.         update-desktop-database -q
  5.         gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
  6.         update-mime-database usr/share/mime &>/dev/null
  7. }
  8.  
  9. post_upgrade() {
  10.         post_install $1
  11. }
  12.  
  13. post_remove() {
  14.         gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
  15. }
clone this paste RAW Paste Data