summaryrefslogtreecommitdiffstats
path: root/vim-nerdtree/vimdoc.install
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2009-08-20 00:51:51 +0200
committerFlorian Pritz <bluewind@xssn.at>2009-08-20 00:51:51 +0200
commit168118db7c4b1fd03547440cc5359a6d1a2f4fd4 (patch)
tree6f2521b0d50d70a396dc969e803d0d11f8d33eeb /vim-nerdtree/vimdoc.install
parent702a3d5b092feb07625958a31dc225863319a10e (diff)
downloadaur-packages-168118db7c4b1fd03547440cc5359a6d1a2f4fd4.tar.gz
aur-packages-168118db7c4b1fd03547440cc5359a6d1a2f4fd4.tar.xz
mass update
Diffstat (limited to 'vim-nerdtree/vimdoc.install')
-rw-r--r--vim-nerdtree/vimdoc.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/vim-nerdtree/vimdoc.install b/vim-nerdtree/vimdoc.install
new file mode 100644
index 0000000..5246e5c
--- /dev/null
+++ b/vim-nerdtree/vimdoc.install
@@ -0,0 +1,19 @@
+post_install() {
+ echo -n "Updating vim help tags..."
+ /usr/bin/vim --noplugins -u NONE -U NONE \
+ --cmd ":helptags /usr/share/vim/doc" --cmd ":q" > /dev/null 2>&1
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install
+}
+
+op=$1
+shift
+
+$op $*