diff options
author | Peter Volkov <pva@gentoo.org> | 2008-01-08 17:57:43 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-01-08 17:57:43 +0000 |
commit | 5fd4e0acdf03ac806ee48c1026955addcbe9da7c (patch) | |
tree | 681ba030eab4c44c3fc23c97f15b94347fcac9e8 /eclass/font.eclass | |
parent | Stable for HPPA (bug #199297). (diff) | |
download | historical-5fd4e0acdf03ac806ee48c1026955addcbe9da7c.tar.gz historical-5fd4e0acdf03ac806ee48c1026955addcbe9da7c.tar.bz2 historical-5fd4e0acdf03ac806ee48c1026955addcbe9da7c.zip |
Third stage of fixing bug #201834.
Diffstat (limited to 'eclass/font.eclass')
-rw-r--r-- | eclass/font.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass index 5c6ad4eefb70..d1621d3c3cf7 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.35 2008/01/08 17:12:23 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.36 2008/01/08 17:57:43 pva Exp $ # Author: foser <foser@gentoo.org> @@ -22,7 +22,7 @@ FONT_PN=${PN} # Last part of $FONTDIR 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 +FONT_CONF=( "" ) # Array, which element(s) is(are) path(s) of fontconfig-2.4 file(s) to install DOCS="" # Docs to install @@ -61,10 +61,10 @@ font_xft_config() { font_fontconfig() { local conffile - if [[ -n ${FONT_CONF} ]]; then + 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 |