summarylogtreecommitdiffstats
path: root/vimdoc.install
diff options
context:
space:
mode:
authorTimothy Redaelli2015-07-14 15:22:31 +0200
committerTimothy Redaelli2015-07-14 15:22:31 +0200
commit2cd363c8159289d4efd339b062dbc39de723cd17 (patch)
treee9454da7cef1a9d0fa5ae1451c25f6001421d45f /vimdoc.install
downloadaur-vim-extradite-git.tar.gz
Initial import
Diffstat (limited to 'vimdoc.install')
-rw-r--r--vimdoc.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/vimdoc.install b/vimdoc.install
new file mode 100644
index 000000000000..c6ce857be4be
--- /dev/null
+++ b/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
+}