summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorPitBall2016-01-25 18:17:23 +0100
committerPitBall2016-01-25 18:17:23 +0100
commitcef612a4c7ef46e6977354ec1c56c320da4b150c (patch)
tree0863904037b8a559837b6945d9635527b32fadf0 /install
downloadaur-vim-ref.tar.gz
Initial import
Diffstat (limited to 'install')
-rw-r--r--install24
1 files changed, 24 insertions, 0 deletions
diff --git a/install b/install
new file mode 100644
index 00000000000..0a9895647c9
--- /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 $*