diff options
author | Joost Bremmer | 2016-10-13 17:25:37 +0200 |
---|---|---|
committer | Joost Bremmer | 2016-10-13 17:26:34 +0200 |
commit | 3df52b2e7396a68c0a2f33770a88e0f9921b4b49 (patch) | |
tree | 97d64e460d97f22b8de9c4f61fa28fac6d738881 /nvim-doc.install | |
download | aur-3df52b2e7396a68c0a2f33770a88e0f9921b4b49.tar.gz |
Initial commit
Diffstat (limited to 'nvim-doc.install')
-rw-r--r-- | nvim-doc.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nvim-doc.install b/nvim-doc.install new file mode 100644 index 000000000000..79795d84c37b --- /dev/null +++ b/nvim-doc.install @@ -0,0 +1,14 @@ +post_install() { + echo -n "Updating neovim help tags..." + /usr/bin/nvim --noplugins -u NONE -U NONE \ + --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1 + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install +} |