parent
8db0b55f60
commit
e26188938c
1 changed files with 8 additions and 0 deletions
|
@ -6,6 +6,14 @@ runCommand "fonts.conf"
|
|||
inherit fontDirectories;
|
||||
}
|
||||
''
|
||||
for fd in $fontDirectories;
|
||||
do
|
||||
if [ ! -d "$fd/share/fonts" ]; then
|
||||
echo "ERROR: '$fd/share/fonts/' doesn't exist"
|
||||
false
|
||||
fi
|
||||
done
|
||||
|
||||
xsltproc --stringparam fontDirectories "$fontDirectories" \
|
||||
--stringparam fontconfig "${fontconfig}" \
|
||||
--path ${fontconfig}/share/xml/fontconfig \
|
||||
|
|
Loading…
Reference in a new issue