summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-03-30 11:55:02 +0000
committerrecht <recht@pkgsrc.org>2004-03-30 11:55:02 +0000
commita18d7bdbef70dbe01dc526c4e0eba4298609fbfd (patch)
tree8b81c9efa4a0c4bec6a2042b867103f39b72964c
parente27514ab2d0e5345a9386b26bac06b745adae634 (diff)
downloadpkgsrc-a18d7bdbef70dbe01dc526c4e0eba4298609fbfd.tar.gz
Generate fonts.dir correctly with the ttmkfdir2.
From PR 24968 by Jukka Salmi.
-rw-r--r--mk/install/fonts4
1 files changed, 2 insertions, 2 deletions
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