diff options
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: |