diff options
author | Akira TAGOH <akira@tagoh.org> | 2017-12-18 12:09:14 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2017-12-18 12:11:21 +0900 |
commit | dd21876e64db4eaf592297e97355ffdf87f7d2f6 (patch) | |
tree | 4d844934b9e39097e416ad981c171217974d80bc /fc-cache | |
parent | dd1a92911b1abc4c266ad33d88ec8161342f0d69 (diff) |
Update .uuid only when -r is given but not -f.
Diffstat (limited to 'fc-cache')
-rw-r--r-- | fc-cache/fc-cache.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index 76059895..1cea5c70 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -188,7 +188,10 @@ scanDirs (FcStrList *list, FcConfig *config, FcBool force, FcBool really_force, was_processed = FcTrue; if (really_force) + { FcDirCacheUnlink (dir, config); + FcDirCacheCreateUUID ((FcChar8 *) dir, FcTrue, config); + } cache = NULL; was_valid = FcFalse; |