From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4CB3D138010 for ; Wed, 17 Oct 2012 12:55:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4A47E011A; Wed, 17 Oct 2012 12:55:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 49B59E011A for ; Wed, 17 Oct 2012 12:55:46 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B190B33D7FE for ; Wed, 17 Oct 2012 12:55:45 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2139) id C593B21600; Wed, 17 Oct 2012 12:55:42 +0000 (UTC) From: "Alexis Ballier (aballier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, aballier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: texlive-common.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: texlive-common.eclass X-VCS-Directories: eclass X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20121017125542.C593B21600@flycatcher.gentoo.org> Date: Wed, 17 Oct 2012 12:55:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 07b2c6ec-cd8d-42b8-b221-8de7ab59ba4a X-Archives-Hash: c70b649b19f37c9a800025c8f0f8b489 aballier 12/10/17 12:55:42 Modified: texlive-common.eclass Log: do not warn in etexmf-update if we have not yet installed texlive-core, like when installing kpathsea, bug #429682 Revision Changes Path 1.18 eclass/texlive-common.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/texlive-common.eclass?rev=1.18&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/texlive-common.eclass?rev=1.18&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/texlive-common.eclass?r1=1.17&r2=1.18 Index: texlive-common.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- texlive-common.eclass 30 Mar 2012 13:50:39 -0000 1.17 +++ texlive-common.eclass 17 Oct 2012 12:55:42 -0000 1.18 @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v 1.17 2012/03/30 13:50:39 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v 1.18 2012/10/17 12:55:42 aballier Exp $ # @ECLASS: texlive-common.eclass # @MAINTAINER: @@ -132,11 +132,13 @@ # function helps in factorizing some code. etexmf-update() { - if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then - /usr/sbin/texmf-update - else - ewarn "Cannot run texmf-update for some reason." - ewarn "Your texmf tree might be inconsistent with your configuration" - ewarn "Please try to figure what has happened" + if has_version 'app-text/texlive-core' ; then + if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then + /usr/sbin/texmf-update + else + ewarn "Cannot run texmf-update for some reason." + ewarn "Your texmf tree might be inconsistent with your configuration" + ewarn "Please try to figure what has happened" + fi fi }