summaryrefslogtreecommitdiff
path: root/pcr/vundle-git/vundle.install
blob: 555151ccb28bc76e7d91cc8b1163c384a6dc028a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
post_install() {
  echo -n "Updating vim help tags..."
  /usr/bin/vim --noplugins -u NONE -U NONE \
      --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
  echo "done."
  echo "
  >>> To use vundle, please check the file /usr/share/vundle/vimrc.sample
  >>> and update your ~/.vimrc file, accordingly
  "
}

post_upgrade() {
  post_install $1
}

post_remove() {
  echo -n "Updating vim help tags..."
  /usr/bin/vim --noplugins -u NONE -U NONE \
      --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
  echo "done."
  echo "
  >>> Please remember to remove vundle bundles from your ~/.vimrc file
  >>> and from your ~/.vim directory!
  "
}

# vim: ts=2 sw=2 et: