fontconfig: only remove directory if it exists
This commit is contained in:
parent
c100bd0c4b
commit
8bbade4b01
|
@ -66,7 +66,9 @@ in {
|
|||
fi
|
||||
|
||||
# Remove the fontconfig directory if no files were available.
|
||||
rmdir --ignore-fail-on-non-empty -p $out/lib/fontconfig
|
||||
if [[ -d $out/lib/fontconfig ]] ; then
|
||||
rmdir --ignore-fail-on-non-empty -p $out/lib/fontconfig
|
||||
fi
|
||||
'';
|
||||
|
||||
xdg.configFile = {
|
||||
|
|
Loading…
Reference in a new issue