summarylogtreecommitdiffstats
path: root/vimdoc.install
blob: 3b69deb088e40a5731adced6f06ae0d8253d3b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
update_doc() {
	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_doc

/bin/cat << EOF
===>
===> Shared library has already been put in /usr/lib
===> There is no need to change LD_LIBRARY_PATH.
===> run cmd: [vim -c "tab h gdbmgr.txt | tabn | q"] 
===> for more information
===>
===>
===> WARNING: This vim plugin has not been released yet,
===> It is not stable enough. Use at your own RISK!
===>
EOF

}

post_upgrade() {
	update_doc
}

post_remove() {
	update_doc
}