1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
update_helptags() { printf "Updating vim help tags..." vim -e -s -c "helptags /usr/share/vim/vimfiles/doc/" -c "quit" printf "done\n" } post_install() { update_helptags } post_upgrade() { update_helptags } post_remove() { update_helptags }