diff options
author | Aron Griffis <agriffis@gentoo.org> | 2003-04-29 21:11:34 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2003-04-29 21:11:34 +0000 |
commit | 71e4b99897fc15b6a85e26c4cd386acc312fbd6e (patch) | |
tree | 25852ae8c96284e725b5f7106310fd4fc6381705 /eclass | |
parent | adding filtering (diff) | |
download | gentoo-2-71e4b99897fc15b6a85e26c4cd386acc312fbd6e.tar.gz gentoo-2-71e4b99897fc15b6a85e26c4cd386acc312fbd6e.tar.bz2 gentoo-2-71e4b99897fc15b6a85e26c4cd386acc312fbd6e.zip |
add VIMRUNTIME warning to vim.eclass
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vim.eclass | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass index 7e5ad90a164b..36431d97f408 100644 --- a/eclass/vim.eclass +++ b/eclass/vim.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.26 2003/04/29 00:12:38 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.27 2003/04/29 21:11:34 agriffis Exp $ # Authors: # Ryan Phillips <rphillips@gentoo.org> @@ -256,6 +256,16 @@ pkg_postinst() { fi einfo + # Warn about VIMRUNTIME + if [ -n "$VIMRUNTIME" -a "${VIMRUNTIME##*/vim}" != "${VIM_VERSION/.}" ]; then + ewarn + ewarn "WARNING: You have VIMRUNTIME set in your environment from an old" + ewarn "installation. You will need to either unset VIMRUNTIME in each" + ewarn "terminal, or log out completely and back in. This problem won't" + ewarn "happen again since the ebuild no longer sets VIMRUNTIME." + ewarn + fi + # Make convenience symlinks, hopefully without stepping on toes [ -f /usr/bin/gvim ] && ln -s gvim /usr/bin/vim 2>/dev/null [ -f /usr/bin/vim ] && ln -s vim /usr/bin/vi 2>/dev/null |