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

pyclewn

By: a guest on Aug 19th, 2010  |  syntax: Bash  |  size: 0.28 KB  |  views: 76  |  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.     echo -n "Updating vim help tags..."
  3.     /usr/bin/vim --noplugins -u NONE -U NONE \
  4.         --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
  5.     echo "done."
  6. }
  7.  
  8. post_upgrade() {
  9.   post_install $1
  10. }
  11.  
  12. post_remove() {
  13.   post_install
  14. }
clone this paste RAW Paste Data