Link TrueType/OpenType fonts to all-fonts directory, too

svn path=/nixos/trunk/; revision=27312
This commit is contained in:
Michael Raskin 2011-05-28 19:58:43 +00:00
parent 4984fa1ee6
commit 25bb8b3d55

View File

@ -117,7 +117,7 @@ let
list=\"\$list \$i\";
fi;
done
list=\$(find \$list -name fonts.dir);
list=\$(find \$list -name fonts.dir -o -name '*.ttf' -o -name '*.otf');
fontDirs='';
for i in \$list ; do
fontDirs=\"\$fontDirs \$(dirname \$i)\";