Fix fc-cache fail with -r
Do not unlink the cache even if --really-force is given. because re-scanning process expects the cache exists. https://bugs.freedesktop.org/show_bug.cgi?id=77252
This commit is contained in:
parent
91784eb7d0
commit
f44157c809
|
@ -388,7 +388,7 @@ main (int argc, char **argv)
|
|||
list = FcStrListCreate (updateDirs);
|
||||
if (list)
|
||||
{
|
||||
ret += scanDirs (list, config, FcTrue, really_force, verbose, FcFalse, &changed, NULL);
|
||||
ret += scanDirs (list, config, FcTrue, FcFalse, verbose, FcFalse, &changed, NULL);
|
||||
FcStrListDone (list);
|
||||
}
|
||||
FcStrSetDestroy (updateDirs);
|
||||
|
|
Loading…
Reference in New Issue