summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-01-08 17:12:23 +0000
committerPeter Volkov <pva@gentoo.org>2008-01-08 17:12:23 +0000
commit7f9ad6ff4a557e90aaf3721d6b9355b86a9adbb3 (patch)
treed228df5b26df602615a4531a2a21180c4170c91e /eclass
parentalpha/ia64 stable wrt #204653 (diff)
downloadhistorical-7f9ad6ff4a557e90aaf3721d6b9355b86a9adbb3.tar.gz
historical-7f9ad6ff4a557e90aaf3721d6b9355b86a9adbb3.tar.bz2
historical-7f9ad6ff4a557e90aaf3721d6b9355b86a9adbb3.zip
First stage of fixing bug #201834.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/font.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass
index 3b37b8cdcc9d..5c6ad4eefb70 100644
--- a/eclass/font.eclass
+++ b/eclass/font.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.34 2007/12/10 23:58:17 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.35 2008/01/08 17:12:23 pva Exp $
# Author: foser <foser@gentoo.org>
@@ -16,11 +16,11 @@ inherit eutils
FONT_SUFFIX="" # Space delimited list of font suffixes to install
-FONT_S="${S}" # Dir containing the fonts
+FONT_S=${S} # Dir containing the fonts
-FONT_PN="${PN}" # Last part of $FONTDIR
+FONT_PN=${PN} # Last part of $FONTDIR
-FONTDIR="/usr/share/fonts/${FONT_PN}" # This is where the fonts are installed
+FONTDIR=/usr/share/fonts/${FONT_PN} # This is where the fonts are installed
FONT_CONF="" # Space delimited list of fontconfig-2.4 file(s) to install
@@ -64,7 +64,7 @@ font_fontconfig() {
if [[ -n ${FONT_CONF} ]]; then
if has_version '>=media-libs/fontconfig-2.4'; then
insinto /etc/fonts/conf.avail/
- for conffile in ${FONT_CONF}; do
+ for conffile in ${FONT_CONF[@]}; do
[[ -e ${conffile} ]] && doins ${conffile}
done
fi