aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-08-09 16:02:36 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-08-09 16:02:36 -0400
commit1ac74597080f5d2276757ae5d896faa544d7eee8 (patch)
tree708006e4c10df30cba33a11ec7de856ba9b85eb2 /bin
parentbin/grsrun: avoid name collision with usage(). (diff)
downloadgrss-1ac74597080f5d2276757ae5d896faa544d7eee8.tar.gz
grss-1ac74597080f5d2276757ae5d896faa544d7eee8.tar.bz2
grss-1ac74597080f5d2276757ae5d896faa544d7eee8.zip
bin/grsup: WorldConf.install() now does a cleanup automatically.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/grsup6
1 files 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()