diff options
author | Pieter Goetschalckx | 2017-02-15 17:39:58 +0100 |
---|---|---|
committer | Pieter Goetschalckx | 2017-02-15 17:39:58 +0100 |
commit | bc2432943315ab8e35fc1e509f8255e05a76917a (patch) | |
tree | a3a84f8c9f921e32a8cde4a1851e91e199f87947 /vimdoc.install | |
download | aur-bc2432943315ab8e35fc1e509f8255e05a76917a.tar.gz |
Initial import
Diffstat (limited to 'vimdoc.install')
-rw-r--r-- | vimdoc.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vimdoc.install b/vimdoc.install new file mode 100644 index 000000000000..9e4221a3cb60 --- /dev/null +++ b/vimdoc.install @@ -0,0 +1,14 @@ +post_install() { + echo -n "Updating Vim help tags..." + /usr/bin/vim --noplugin -u NONE -U NONE \ + --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install +} |