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

Re: [Libguestfs] [PATCH 2/2] sysprep: remove man pages cache



On Tue, Oct 30, 2012 at 03:50:54PM +0800, Wanlong Gao wrote:
> Remove the cache files generated by man-db.
> 
> 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 1bca0dd..43fa33a 100644
> --- a/sysprep/sysprep_operation_logfiles.ml
> +++ b/sysprep/sysprep_operation_logfiles.ml
> @@ -75,6 +75,9 @@ let globs = List.sort compare [
>  
>    (* fontconfig caches *)
>    "/var/cache/fontconfig/*";
> +
> +  (* man pages cache *)
> +  "/var/cache/man/*";
>  ]
>  let globs_as_pod = String.concat "\n" (List.map ((^) " ") globs)
>  

Thanks, both pushed.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v


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