makeFontsConf: fixup to accept older font packages
They contain fonts on the silly path lib/X11/fonts/
This commit is contained in:
parent
26ec124da8
commit
77487fe661
@ -8,8 +8,8 @@ runCommand "fonts.conf"
|
|||||||
''
|
''
|
||||||
for fd in $fontDirectories;
|
for fd in $fontDirectories;
|
||||||
do
|
do
|
||||||
if [ ! -d "$fd/share/fonts" ]; then
|
if [ ! -d "$fd/share/fonts" ] && [ ! -d "$fd/lib/X11/fonts" ]; then
|
||||||
echo "ERROR: '$fd/share/fonts/' doesn't exist"
|
echo "ERROR: '$fd/' contains neither 'share/fonts/' nor 'lib/X11/fonts/'"
|
||||||
false
|
false
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user