summaryrefslogtreecommitdiff
path: root/pcr/vim-pathogen/vimdoc.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-12-11 15:36:46 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-12-11 15:36:46 -0200
commitf4807465cdcea980522eaa847edb09b3f48face9 (patch)
treea6a2edb21a183c402bfd42bc2d88cabcf4daa18c /pcr/vim-pathogen/vimdoc.install
parentdf2d8d4f7b6c6dbf1d8d767d12f74fa596241a6b (diff)
parent39e618c6933e28a1cf2939ec11c378e84d17cec6 (diff)
Merge branch 'master' of ssh://projects.parabola.nu/~git/abslibre/abslibre
Diffstat (limited to 'pcr/vim-pathogen/vimdoc.install')
-rw-r--r--pcr/vim-pathogen/vimdoc.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/vim-pathogen/vimdoc.install b/pcr/vim-pathogen/vimdoc.install
new file mode 100644
index 000000000..0ffd9dde8
--- /dev/null
+++ b/pcr/vim-pathogen/vimdoc.install
@@ -0,0 +1,14 @@
+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.'
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}