diff options
author | Mustafa Gonul | 2018-03-15 17:37:07 +0300 |
---|---|---|
committer | Mustafa Gonul | 2018-03-15 17:37:07 +0300 |
commit | c053f46417c7e9948553a9b20a241e64ce917d59 (patch) | |
tree | 68064e3cc20d82d4abb2a960b4f07ba2c1944481 /vimdoc.install | |
download | aur-c053f46417c7e9948553a9b20a241e64ce917d59.tar.gz |
- vim-fixkey-git created
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..e8c968a48d66 --- /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 $* + |