3
0
Fork 0
forked from mirrors/nixpkgs

makeFontsConf: give up fontDirectories checks for now

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

View file

@ -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 \