[Sugar-devel] [PATCH 1/2] This fixes part of http://bugs.sugarlabs.org/ticket/1876 .

James Cameron quozl at laptop.org
Wed May 5 04:01:05 EDT 2010


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 <bernie at 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 <quozl at laptop.org>

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list