/[gentoo-x86]/eclass/font.eclass
Gentoo

Diff of /eclass/font.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.19 Revision 1.20
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.19 2006/09/17 14:33:59 foser Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.20 2006/10/30 05:56:11 dberkholz Exp $
4 4
5# Author: foser <foser@gentoo.org> 5# Author: foser <foser@gentoo.org>
6 6
7# Font Eclass 7# Font Eclass
8# 8#
82 font_xft_config 82 font_xft_config
83 83
84 cd "${S}" 84 cd "${S}"
85 # try to install some common docs 85 # try to install some common docs
86 DOCS="${DOCS} COPYRIGHT README NEWS" 86 DOCS="${DOCS} COPYRIGHT README NEWS"
87 dodoc ${DOCS} 87 dodoc ${DOCS} 2> /dev/null
88 88
89} 89}
90 90
91font_pkg_setup() { 91font_pkg_setup() {
92 92
93 # make sure we get no colissions 93 # make sure we get no colissions
94 # setup is not the nicest place, but preinst doesn't cut it 94 # setup is not the nicest place, but preinst doesn't cut it
95 rm -f "${FONTDIR}/fonts.cache-1" 95 [[ -e "${FONTDIR}/fonts.cache-1" ]] && rm -f "${FONTDIR}/fonts.cache-1"
96 96
97} 97}
98 98
99font_pkg_postinst() { 99font_pkg_postinst() {
100 100

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.20