diff options
author | Rhinoceros | 2016-02-02 21:21:16 +1100 |
---|---|---|
committer | Rhinoceros | 2016-02-02 21:21:16 +1100 |
commit | d053ea5199eab51b4ecc9a1f832b4d395cff4d45 (patch) | |
tree | 9ff8cc12b84d626a0b5e0a1e643d3c0fda094e9e /vimdoc.install | |
parent | ae4a4710e1f834e3d35d7617bd917f9f68371ac1 (diff) | |
download | aur-d053ea5199eab51b4ecc9a1f832b4d395cff4d45.tar.gz |
Update to 1:0.7.r219.gdbb4d32-3
* Fix incorrect variable name
* Rename install file to something more informative
Diffstat (limited to 'vimdoc.install')
-rwxr-xr-x | vimdoc.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vimdoc.install b/vimdoc.install new file mode 100755 index 000000000000..220693cc8af7 --- /dev/null +++ b/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/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install +} + +op=$1 +shift + +$op $* |