r812 - /trunk/packages/vim/debian/vim-runtime.postinst
jamessan at users.alioth.debian.org
jamessan at users.alioth.debian.org
Wed Nov 15 15:35:13 UTC 2006
Author: jamessan
Date: Wed Nov 15 16:35:13 2006
New Revision: 812
URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=812
Log:
Only run helpztags if it's installed. It will be in most cases, but if someone decides to randomly install vim-runtime by itself we don't want the postinst to fail.
Modified:
trunk/packages/vim/debian/vim-runtime.postinst
Modified: trunk/packages/vim/debian/vim-runtime.postinst
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/vim-runtime.postinst?rev=812&op=diff
==============================================================================
--- trunk/packages/vim/debian/vim-runtime.postinst (original)
+++ trunk/packages/vim/debian/vim-runtime.postinst Wed Nov 15 16:35:13 2006
@@ -2,7 +2,9 @@
# 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
-helpztags /usr/share/vim/addons/doc
+if which helpztags >/dev/null 2>&1; then
+ helpztags /usr/share/vim/addons/doc
+fi
#DEBHELPER#
More information about the pkg-vim-maintainers
mailing list