diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-06-21 09:17:54 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-06-21 09:17:54 +0000 |
commit | edc195bf2b6f758636965da87072c923c3049ccb (patch) | |
tree | 5b8a389bd84054323a74f265e58968b67e8c397e /eclass/font.eclass | |
parent | font.eclassify (diff) | |
download | historical-edc195bf2b6f758636965da87072c923c3049ccb.tar.gz historical-edc195bf2b6f758636965da87072c923c3049ccb.tar.bz2 historical-edc195bf2b6f758636965da87072c923c3049ccb.zip |
Install fonts.alias only if fonts.alias is found
Diffstat (limited to 'eclass/font.eclass')
-rw-r--r-- | eclass/font.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass index bf6261b808f8..0be3fe2cc734 100644 --- a/eclass/font.eclass +++ b/eclass/font.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.2 2004/05/31 14:59:26 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.3 2004/06/21 09:17:54 usata Exp $ # Author: foser <foser@gentoo.org> @@ -43,7 +43,10 @@ font_xfont_config() { -e /usr/share/fonts/encodings/large \ -e /usr/X11R6/lib/X11/fonts/encodings \ ${D}/usr/share/fonts/${PN} - doins ${FONT_S}/fonts.alias + if [ -e ${FONT_S}/fonts.alias ] ; + then + doins ${FONT_S}/fonts.alias + fi fi } |