summarylogtreecommitdiffstats
path: root/vimdoc.install
diff options
context:
space:
mode:
authorMatthias Devlamynck2015-06-12 21:34:00 +0200
committerMatthias Devlamynck2015-06-12 21:34:37 +0200
commit25fa7564fce25bcd30389c8c7caba1944ac87715 (patch)
treea66b50d1a4c14a66117f13375826b27e315d01cb /vimdoc.install
downloadaur-25fa7564fce25bcd30389c8c7caba1944ac87715.tar.gz
Initial Commit, import package
Diffstat (limited to 'vimdoc.install')
-rwxr-xr-xvimdoc.install32
1 files changed, 32 insertions, 0 deletions
diff --git a/vimdoc.install b/vimdoc.install
new file mode 100755
index 00000000000..3b69deb088e
--- /dev/null
+++ b/vimdoc.install
@@ -0,0 +1,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
+}