summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-04-29 21:11:34 +0000
committerAron Griffis <agriffis@gentoo.org>2003-04-29 21:11:34 +0000
commit99ce7e79407bc474a22dc0a58f5e0273b2515c96 (patch)
treeff390f75207d5095dbd982566b55d8f45f5bc476 /eclass
parentadding filtering (diff)
downloadhistorical-99ce7e79407bc474a22dc0a58f5e0273b2515c96.tar.gz
historical-99ce7e79407bc474a22dc0a58f5e0273b2515c96.tar.bz2
historical-99ce7e79407bc474a22dc0a58f5e0273b2515c96.zip
add VIMRUNTIME warning to vim.eclass
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vim.eclass12
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