diff options
Diffstat (limited to 'pcr/vundle-git/vundle.install')
-rw-r--r-- | pcr/vundle-git/vundle.install | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/vundle-git/vundle.install b/pcr/vundle-git/vundle.install new file mode 100644 index 000000000..555151ccb --- /dev/null +++ b/pcr/vundle-git/vundle.install @@ -0,0 +1,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: |