diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-01-02 09:42:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-01-02 09:42:26 +0000 |
commit | 8e24a4ef2dce0f413a3977e7fed9092c7913fde0 (patch) | |
tree | 0c76cb655171727cd99b1ade88ec5dbd894ffc0d /eclass | |
parent | remove ezmlm-idx (diff) | |
download | gentoo-2-8e24a4ef2dce0f413a3977e7fed9092c7913fde0.tar.gz gentoo-2-8e24a4ef2dce0f413a3977e7fed9092c7913fde0.tar.bz2 gentoo-2-8e24a4ef2dce0f413a3977e7fed9092c7913fde0.zip |
remove fonts.dir/fonts.scale if they exist before we create them (in case they have funky read-only perms)
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/font.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass index 3c648458398d..be0fa1beae11 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.40 2009/01/01 09:36:36 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.41 2009/01/02 09:42:26 vapier Exp $ # @ECLASS: font.eclass # @MAINTAINER: @@ -62,6 +62,7 @@ font_xfont_config() { # create Xfont files if use X ; then einfo "Creating fonts.scale & fonts.dir ..." + rm -f "${D}${FONTDIR}"/fonts.{dir,scale} mkfontscale "${D}${FONTDIR}" mkfontdir \ -e /usr/share/fonts/encodings \ |