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:
Akira TAGOH 2014-04-10 19:27:55 +09:00
parent 91784eb7d0
commit f44157c809
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ main (int argc, char **argv)
list = FcStrListCreate (updateDirs); list = FcStrListCreate (updateDirs);
if (list) 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); FcStrListDone (list);
} }
FcStrSetDestroy (updateDirs); FcStrSetDestroy (updateDirs);