commit:     1ac74597080f5d2276757ae5d896faa544d7eee8
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  9 20:02:36 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Aug  9 20:02:36 2015 +0000
URL:        https://gitweb.gentoo.org/proj/grss.git/commit/?id=1ac74597

bin/grsup: WorldConf.install() now does a cleanup automatically.

 bin/grsup | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/grsup b/bin/grsup
index d722edb..5f03131 100755
--- a/bin/grsup
+++ b/bin/grsup
@@ -236,9 +236,9 @@ def main():
                 shutil(oldmakeconf, '%s.old' % oldmakeconf)
         shutil.copy(newmakeconf, oldmakeconf)
 
-    # Check if we left behind a dirty /etc/portage
-    if os.path.isfile(CONST.PORTAGE_DIRTYFILE):
-        WorldConf.clean()
+    # 1. Install all world.conf files.
+    # 2. Do the emerge.
+    # 3. Cleanup unused /etc/portage files.
     open(CONST.PORTAGE_DIRTYFILE, 'a').close()
     WorldConf.install()
 

Reply via email to