From: Rob Holland Date: Wed, 11 Feb 2004 15:14:05 +0000 (+0000) Subject: clean up dot directories (.ccache) too X-Git-Tag: CATALYST_1_0_1~29 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c322b2cac3bca9347d14fb0be4638e001b22503f;p=catalyst.git clean up dot directories (.ccache) too git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@211 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/modules/targets.py b/modules/targets.py index 1b71407e..e8f9581a 100644 --- a/modules/targets.py +++ b/modules/targets.py @@ -1,6 +1,6 @@ # Distributed under the GNU General Public License version 2 # Copyright 2003-2004 Gentoo Technologies, Inc. -# $Header: /var/cvsroot/gentoo/src/catalyst/modules/Attic/targets.py,v 1.78 2004/02/11 03:31:55 zhen Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/modules/Attic/targets.py,v 1.79 2004/02/11 15:14:05 tigger Exp $ import os,string,imp,types,shutil from catalyst_support import * @@ -227,7 +227,7 @@ class generic_stage_target(generic_target): def clean(self): destpath=self.settings["chroot_path"] - cleanables=["/etc/resolv.conf","/var/tmp/*","/tmp/*","/root/*"] + cleanables=["/etc/resolv.conf","/var/tmp/*","/tmp/*","/root/*","/root/.*"] if self.settings["target"] not in ["livecd-stage2"]: #we don't need to clean up a livecd-stage2 cleanables.append("/usr/portage")