[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH 1/2] sysprep: remove fontconfig cache



Remove the cache files generated by fontconfig.

Signed-off-by: Wanlong Gao <gaowanlong cn fujitsu com>
---
 sysprep/sysprep_operation_logfiles.ml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml
index a2b1585..1bca0dd 100644
--- a/sysprep/sysprep_operation_logfiles.ml
+++ b/sysprep/sysprep_operation_logfiles.ml
@@ -72,6 +72,9 @@ let globs = List.sort compare [
   "/var/cache/gdm/*";
   "/var/lib/AccountService/users/*";
   "/var/lib/fprint/*";                  (* Fingerprint service files *)
+
+  (* fontconfig caches *)
+  "/var/cache/fontconfig/*";
 ]
 let globs_as_pod = String.concat "\n" (List.map ((^) " ") globs)
 
-- 
1.8.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]