diff options
author | Simon Désaulniers | 2015-06-25 16:53:32 -0400 |
---|---|---|
committer | Simon Désaulniers | 2015-06-25 16:53:32 -0400 |
commit | 7937f3374c72ce970c21f2d049db50330cedcfc6 (patch) | |
tree | c800df04ba91eae19895f041b43f3c19c5674da5 /pyclewn2.install | |
download | aur-7937f3374c72ce970c21f2d049db50330cedcfc6.tar.gz |
Initial import
Diffstat (limited to 'pyclewn2.install')
-rw-r--r-- | pyclewn2.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pyclewn2.install b/pyclewn2.install new file mode 100644 index 000000000000..868e9d30ea9e --- /dev/null +++ b/pyclewn2.install @@ -0,0 +1,21 @@ +post_install() { + update_vim_tags +} + +update_vim_tags() { + 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 $1 +} + +post_remove() { + update_vim_tags +} + +# vim:tw=80: ft=sh: sw=2: ts=2: |