Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 28th, 2011  |  syntax: Bash  |  size: 0.74 KB  |  views: 7,758  |  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. # This is a default template for a post-install scriptlet.
  2. # Uncomment only required functions and remove any functions
  3. # you don't need (and this header).
  4.  
  5. ## arg 1:  the new package version
  6. #pre_install() {
  7.   # do something here
  8. #}
  9.  
  10. ## arg 1:  the new package version
  11. #post_install() {
  12.   # do something here
  13. #}
  14.  
  15. ## arg 1:  the new package version
  16. ## arg 2:  the old package version
  17. #pre_upgrade() {
  18.   # do something here
  19. #}
  20.  
  21. ## arg 1:  the new package version
  22. ## arg 2:  the old package version
  23. #post_upgrade() {
  24.   # do something here
  25. #}
  26.  
  27. ## arg 1:  the old package version
  28. #pre_remove() {
  29.   # do something here
  30. #}
  31.  
  32. ## arg 1:  the old package version
  33. #post_remove() {
  34.   # do something here
  35. #}
  36.  
  37. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data