diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-08-09 16:02:36 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-08-09 16:02:36 -0400 |
commit | 1ac74597080f5d2276757ae5d896faa544d7eee8 (patch) | |
tree | 708006e4c10df30cba33a11ec7de856ba9b85eb2 | |
parent | bin/grsrun: avoid name collision with usage(). (diff) | |
download | grss-1ac74597080f5d2276757ae5d896faa544d7eee8.tar.gz grss-1ac74597080f5d2276757ae5d896faa544d7eee8.tar.bz2 grss-1ac74597080f5d2276757ae5d896faa544d7eee8.zip |
bin/grsup: WorldConf.install() now does a cleanup automatically.
-rwxr-xr-x | bin/grsup | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() |