From cca77297956d6ea4e6a24b48a9acf5a81704c428 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Wed, 25 Oct 2006 20:18:53 +0000 Subject: Don't do ppc-macos trickery, vim is either there or not. --- eclass/vim-doc.eclass | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'eclass/vim-doc.eclass') diff --git a/eclass/vim-doc.eclass b/eclass/vim-doc.eclass index 5038aaaccf9c..0571980d4619 100644 --- a/eclass/vim-doc.eclass +++ b/eclass/vim-doc.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-doc.eclass,v 1.11 2006/09/24 19:41:56 pioto Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim-doc.eclass,v 1.12 2006/10/25 20:18:53 grobian Exp $ # # This eclass is used by vim.eclass and vim-plugin.eclass to update # the documentation tags. This is necessary since vim doesn't look in @@ -20,13 +20,9 @@ update_vim_helptags() { if [[ $PN != vim-core ]]; then # Find a suitable vim binary for updating tags :helptags - if use ppc-macos ; then - vim=$(which gvim 2>/dev/null ) - else - vim=$(which vim 2>/dev/null) - [[ -z "$vim" ]] && vim=$(which gvim 2>/dev/null) - [[ -z "$vim" ]] && vim=$(which kvim 2>/dev/null) - fi + vim=$(which vim 2>/dev/null) + [[ -z "$vim" ]] && vim=$(which gvim 2>/dev/null) + [[ -z "$vim" ]] && vim=$(which kvim 2>/dev/null) if [[ -z "$vim" ]]; then ewarn "No suitable vim binary to rebuild documentation tags" fi -- cgit v1.2.3-65-gdbad