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
commita4595860e499b2e4b5a3d31f48452f295a1f1d78 (patch)
tree19747a5753a1b20ce0d39507bfaf260430ff03db /eclass
parentbump to 3.4.5. Fixed annoying text editing bug. Close bug #227915. (diff)
downloadgentoo-2-a4595860e499b2e4b5a3d31f48452f295a1f1d78.tar.gz
gentoo-2-a4595860e499b2e4b5a3d31f48452f295a1f1d78.tar.bz2
gentoo-2-a4595860e499b2e4b5a3d31f48452f295a1f1d78.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