diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-02-26 10:08:53 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-02-26 10:08:53 +0000 |
commit | e0a87f32467aaaf1db54ac4772f52c4de4ac42e8 (patch) | |
tree | 816725b03a3812b02675789e77456770a06cb974 /bin | |
parent | e36d804f7c78a6c429520e410aa367b79e7c4a84 (diff) | |
download | portage-e0a87f32467aaaf1db54ac4772f52c4de4ac42e8.tar.gz portage-e0a87f32467aaaf1db54ac4772f52c4de4ac42e8.tar.bz2 portage-e0a87f32467aaaf1db54ac4772f52c4de4ac42e8.zip |
Make the post-sync metadata-transfer a FEATURE so that it can be optionally disabled.
svn path=/main/trunk/; revision=2788
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/emerge | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge index c94f5bd9d..6dcf1ea61 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2713,6 +2713,9 @@ if myaction in ["sync","metadata"] and (not "--help" in myopts): except: pass + if updatecache_flg and "metadata-transfer" not in portage.settings.features: + updatecache_flg = False + if os.path.exists(myportdir+"/metadata/cache") and updatecache_flg: if "--quiet" not in myopts: print "\n>>> Updating Portage cache: ", |