]> git.wh0rd.org - fontconfig.git/blame - setfontdirs
new preprocessor files. (#5215-#5218, Alexander Gottwald).
[fontconfig.git] / setfontdirs
CommitLineData
24330d27
KP
1#!/bin/sh
2FONTDIRS=fontdirs$$
3trap "rm $FONTDIRS" 0
4sh ./findfonts > $FONTDIRS
5cp fonts.conf.in fonts.conf
6chmod +w fonts.conf
7ed fonts.conf << EOF
8/FONTPATH_END/a
9<!-- Font directories found on `date` -->
10.
11+r $FONTDIRS
12a
13
14.
15/FONTPATH_START/,/FONTPATH_END/d
16w
17q
18EOF
19