2002-02-15 00:34:13 +01:00
|
|
|
#!/bin/sh
|
|
|
|
FONTDIRS=fontdirs$$
|
|
|
|
trap "rm $FONTDIRS" 0
|
2002-05-21 19:08:42 +02:00
|
|
|
sh ./findfonts ${1+"$@"} > $FONTDIRS
|
2002-02-15 00:34:13 +01:00
|
|
|
cp fonts.conf.in fonts.conf
|
|
|
|
chmod +w fonts.conf
|
|
|
|
ed fonts.conf << EOF
|
|
|
|
/FONTPATH_END/a
|
2002-05-21 19:08:42 +02:00
|
|
|
<!-- Font directory list configured on `date` -->
|
2002-02-15 00:34:13 +01:00
|
|
|
.
|
|
|
|
+r $FONTDIRS
|
|
|
|
a
|
|
|
|
|
|
|
|
.
|
|
|
|
/FONTPATH_START/,/FONTPATH_END/d
|
|
|
|
w
|
|
|
|
q
|
|
|
|
EOF
|
|
|
|
|