From 8e24a4ef2dce0f413a3977e7fed9092c7913fde0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 2 Jan 2009 09:42:26 +0000 Subject: remove fonts.dir/fonts.scale if they exist before we create them (in case they have funky read-only perms) --- eclass/font.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eclass') 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 \ -- cgit v1.2.3-65-gdbad