From a18d7bdbef70dbe01dc526c4e0eba4298609fbfd Mon Sep 17 00:00:00 2001 From: recht Date: Tue, 30 Mar 2004 11:55:02 +0000 Subject: Generate fonts.dir correctly with the ttmkfdir2. From PR 24968 by Jukka Salmi. --- mk/install/fonts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk') diff --git a/mk/install/fonts b/mk/install/fonts index f12c5a16c54..649cc0ae0fe 100644 --- a/mk/install/fonts +++ b/mk/install/fonts @@ -1,4 +1,4 @@ -# $NetBSD: fonts,v 1.4 2003/12/20 10:04:32 jmmv Exp $ +# $NetBSD: fonts,v 1.5 2004/03/30 11:55:02 recht Exp $ # # Handle font databases; used by fonts.mk. # @@ -21,7 +21,7 @@ POST-INSTALL|POST-DEINSTALL) if [ -z "`cd $d ; ${LS} | ${GREP} -v .pkgsrc | ${GREP} -v ^fonts | ${GREP} -v ^Fontmap`" ]; then ${RM} -f $d/fonts* $d/Fontmap* else - ( cd $d && ${TTMKFDIR} >fonts.dir 2>/dev/null ) + ( cd $d && ${TTMKFDIR} -o fonts.dir >/dev/null 2>&1 ) fi done fi -- cgit v1.2.3