Fix indentation so things actually work.
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 27 Dec 2006 20:13:02 +0000 (20:13 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 27 Dec 2006 20:13:02 +0000 (20:13 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1203 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/generic_stage_target.py

index 153b0d2b8e6afab1244afc5fb43bd41a0799b7c0..7f6a10aa73b32084db524261661301517d7dfe9b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.664 2006/10/02 20:41:53 wolf31o2 Exp $
 
+  27 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+  modules/generic_stage_target.py:
+  Fix indentation so things actually work.
+
   27 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> arch/sparc.py:
   Added patch from Mike Frysinger <vapier@gentoo.org> to change the SPARC
   personality check.
index 147b082440d5d439e4ed2312447f7099b98b9130..3ec1bea07f59999835c724cd0670c6e3061ec108 100644 (file)
@@ -936,11 +936,11 @@ class generic_stage_target(generic_target):
                            cmd("rm -rf "+self.settings["destpath"]+x,"Couldn't clean "+x,env=self.env)
 
                    # put /etc/hosts back into place
-                       if os.path.exists(self.settings["chroot_path"]+"/etc/hosts.bck"):
+                   if os.path.exists(self.settings["chroot_path"]+"/etc/hosts.bck"):
                                cmd("mv -f "+self.settings["chroot_path"]+"/etc/hosts.bck "+self.settings["chroot_path"]+"/etc/hosts", "Could not replace /etc/hosts",env=self.env)
 
-                       # remove our overlay
-                       if os.path.exists(self.settings["chroot_path"]+"/usr/local/portage"):
+                   # remove our overlay
+                   if os.path.exists(self.settings["chroot_path"]+"/usr/local/portage"):
                                cmd("rm -rf "+self.settings["chroot_path"]+"/usr/local/portage", "Could not remove /usr/local/portage",env=self.env)
                                cmd("sed -i '/^PORTDIR_OVERLAY/d' "+self.settings["chroot_path"]+"/etc/make.conf", "Could not remove PORTDIR_OVERLAY from make.conf",env=self.env)