summarylogtreecommitdiffstats
path: root/vundle.install
diff options
context:
space:
mode:
Diffstat (limited to 'vundle.install')
-rw-r--r--vundle.install27
1 files changed, 27 insertions, 0 deletions
diff --git a/vundle.install b/vundle.install
new file mode 100644
index 000000000000..555151ccb28b
--- /dev/null
+++ b/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: