diff options
author | PitBall | 2016-01-25 18:17:23 +0100 |
---|---|---|
committer | PitBall | 2016-01-25 18:17:23 +0100 |
commit | cef612a4c7ef46e6977354ec1c56c320da4b150c (patch) | |
tree | 0863904037b8a559837b6945d9635527b32fadf0 /install | |
download | aur-vim-ref.tar.gz |
Initial import
Diffstat (limited to 'install')
-rw-r--r-- | install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/install b/install new file mode 100644 index 000000000000..0a9895647c9b --- /dev/null +++ b/install @@ -0,0 +1,24 @@ +vimdocinstall() { + echo -n " Updating Vim help tags... " + /usr/bin/vim --noplugin -u NONE -U NONE \ + --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 + echo "done." +} + +post_install() { + vimdocinstall + +} + +post_upgrade() { + post_install +} + +post_remove() { + vimdocinstall +} + +op=$1 +shift + +$op $* |