summarylogtreecommitdiffstats
path: root/vimdoc.install
diff options
context:
space:
mode:
Diffstat (limited to 'vimdoc.install')
-rwxr-xr-xvimdoc.install15
1 files changed, 5 insertions, 10 deletions
diff --git a/vimdoc.install b/vimdoc.install
index 220693cc8af7..73d0dc8818a5 100755
--- a/vimdoc.install
+++ b/vimdoc.install
@@ -1,19 +1,14 @@
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."
+ 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_install
}
post_remove() {
post_install
}
-
-op=$1
-shift
-
-$op $*