Guest User

Generic vimdoc.install

a guest
Apr 15th, 2011
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.28 KB | None | 0 0
  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. }
Add Comment
Please, Sign In to add comment