mirror of
https://github.com/nix-community/home-manager
synced 2024-12-20 16:59:47 +01:00
fontconfig: only remove directory if it exists
This commit is contained in:
parent
c100bd0c4b
commit
8bbade4b01
1 changed files with 3 additions and 1 deletions
|
@ -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