makeFontsConf: give up fontDirectories checks for now

This reverts e26188938c3142 and 77487fe6615f
CC #3515.
This commit is contained in:
Vladimír Čunát 2014-08-11 13:53:40 +02:00
parent 77487fe661
commit 9217c7995c

@ -6,14 +6,6 @@ runCommand "fonts.conf"
inherit fontDirectories;
}
''
for fd in $fontDirectories;
do
if [ ! -d "$fd/share/fonts" ] && [ ! -d "$fd/lib/X11/fonts" ]; then
echo "ERROR: '$fd/' contains neither 'share/fonts/' nor 'lib/X11/fonts/'"
false
fi
done
xsltproc --stringparam fontDirectories "$fontDirectories" \
--stringparam fontconfig "${fontconfig}" \
--path ${fontconfig}/share/xml/fontconfig \