On Tue, May 04, 2010 at 07:25:12PM -0400, Bernie Innocenti wrote:
> To reclaim space in case of a crash, we also need to delete temporary
> files at startup time. The rest of the bug is addressed by a separate
> patch in sugar-toolkit.
> 
> Signed-off-by: Bernie Innocenti <ber...@codewiz.org>

Good patch for single-user deployment images, although there is a tiny
risk that the wildcard $HOME/.sugar/default/data/* might end up being
somewhat large ... and so a combination of rm(1) and mkdir(1) would be
more appropriate.

Aleksey makes a good point about the profile name though, so I don't
think this should go upstream just yet.  It would cause interesting
behaviour for multiple profile instances.

Reviewed-by: James Cameron <qu...@laptop.org>

-- 
James Cameron
http://quozl.linux.org.au/
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to