summarylogtreecommitdiffstats
path: root/vimdoc.install
diff options
context:
space:
mode:
authorAnthony VanBerkum2015-06-08 17:47:47 -0400
committerAnthony VanBerkum2015-06-08 17:47:47 -0400
commitd38433401ededcccd992456c0f034c8748746f64 (patch)
tree072b3b39d0f41bdb16d498249d86f4e1d3cfa815 /vimdoc.install
downloadaur-d38433401ededcccd992456c0f034c8748746f64.tar.gz
Initial update to AUR4.
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..8256baca87fd
--- /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
+}