summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-07-03 21:01:53 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-07-03 21:01:53 +0000
commitf8493bb70735e742567acda6647fe0e846f624d9 (patch)
treec2763aa53742e1ec08e8461371cb67ef5d49e183 /eclass
parentbump to 3.4.5. Fixed annoying text editing bug. Close bug #227915. (diff)
downloadhistorical-f8493bb70735e742567acda6647fe0e846f624d9.tar.gz
historical-f8493bb70735e742567acda6647fe0e846f624d9.tar.bz2
historical-f8493bb70735e742567acda6647fe0e846f624d9.zip
be nice and dont try to do anything if we have not installed any texmf file
Diffstat (limited to 'eclass')
-rw-r--r--eclass/texlive-common.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass
index 8893a4f70ed1..c285374de183 100644
--- a/eclass/texlive-common.eclass
+++ b/eclass/texlive-common.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v 1.4 2008/02/14 09:02:11 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v 1.5 2008/07/03 21:01:53 aballier Exp $
# @ECLASS: texlive-common.eclass
# @MAINTAINER:
@@ -28,6 +28,7 @@ TEXMF_VAR_PATH=/var/lib/texmf
texlive-common_handle_config_files() {
# Handle config files properly
+ [ -d "${D}${TEXMF_PATH}" ] || return
cd "${D}${TEXMF_PATH}"
for f in $(find . -name '*.cnf' -o -name '*.cfg' -type f | sed -e "s:\./::g") ; do
if [ "${f#*config}" != "${f}" ] ; then