diff options
Diffstat (limited to 'community/notmuch/notmuch.install')
-rw-r--r-- | community/notmuch/notmuch.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/community/notmuch/notmuch.install b/community/notmuch/notmuch.install new file mode 100644 index 000000000..498d9ad2a --- /dev/null +++ b/community/notmuch/notmuch.install @@ -0,0 +1,21 @@ +update_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_install() { + update_tags + echo + echo '-> To run type "vim -c NotMuch"' +} + +post_upgrade() { + update_tags +} + +post_remove() { + update_tags +} |