From b5901527830f28aa2b68821f895ef3dc64d4ac42 Mon Sep 17 00:00:00 2001 From: Mike Kelly Date: Tue, 10 Oct 2006 15:47:34 +0000 Subject: [PATCH] Add proper support for ROOT to the vim-plugin.eclass --- eclass/vim-plugin.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass index f9cac1b4fed6..2d84d9802ce3 100644 --- a/eclass/vim-plugin.eclass +++ b/eclass/vim-plugin.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim-plugin.eclass,v 1.17 2006/01/27 14:59:02 slarti Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim-plugin.eclass,v 1.18 2006/10/10 15:47:34 pioto Exp $ # # This eclass simplifies installation of app-vim plugins into # /usr/share/vim/vimfiles. This is a version-independent directory @@ -71,7 +71,7 @@ vim-plugin_pkg_postrm() { # /usr/share/vim/vimfiles/after/* comprised of the snippets in # /usr/share/vim/vimfiles/after/*/*.d update_vim_afterscripts() { - local d f afterdir=/usr/share/vim/vimfiles/after + local d f afterdir=${ROOT}/usr/share/vim/vimfiles/after # Nothing to do if the dir isn't there [ -d ${afterdir} ] || return 0 -- 2.26.2