summaryrefslogtreecommitdiffstats
path: root/debian/vim-runtime.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/vim-runtime.postinst')
-rw-r--r--debian/vim-runtime.postinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/vim-runtime.postinst b/debian/vim-runtime.postinst
new file mode 100644
index 0000000..e425cb6
--- /dev/null
+++ b/debian/vim-runtime.postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+# Need to run helpztags since we're overwriting /u/s/v/a/d/tags whenever
+# vim-runtime is install/upgraded which breaks the help for other vim addons
+if which helpztags >/dev/null 2>&1; then
+ helpztags /usr/share/vim/addons/doc
+fi
+
+#DEBHELPER#
+
+exit 0