diff options
author | Piotr Rogoża | 2015-06-14 15:21:22 +0200 |
---|---|---|
committer | Piotr Rogoża | 2015-06-14 15:21:22 +0200 |
commit | de50e73eb17db62eee46592b34990c43d10402ab (patch) | |
tree | f0b701236a420a3fc20d55962995d83066dd4276 /vimdoc.install | |
download | aur-de50e73eb17db62eee46592b34990c43d10402ab.tar.gz |
Initial import
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 $* |