diff options
author | Shibumi | 2015-07-20 22:23:06 +0200 |
---|---|---|
committer | Shibumi | 2015-07-20 22:23:06 +0200 |
commit | d96c32bf22836b2d4f054807677d700678d9385e (patch) | |
tree | 224e77de5173def2d84418dff20acdf6f0b18b16 /vimdoc.install | |
download | aur-d96c32bf22836b2d4f054807677d700678d9385e.tar.gz |
initial push to aur4
Diffstat (limited to 'vimdoc.install')
-rw-r--r-- | vimdoc.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vimdoc.install b/vimdoc.install new file mode 100644 index 000000000000..1239c9df3be5 --- /dev/null +++ b/vimdoc.install @@ -0,0 +1,20 @@ +post_install() { + 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_upgrade() { + post_install $1 +} + +post_remove() { + post_install +} + +op=$1 +shift + +$op $* + |