summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-02-26 10:27:24 +0000
committerZac Medico <zmedico@gentoo.org>2006-02-26 10:27:24 +0000
commite2e0cc661a2c3978a54e9a4b9ae90e04f17f36c5 (patch)
treea63338aec69b00b08af685238d3973b105d15785
parente0a87f32467aaaf1db54ac4772f52c4de4ac42e8 (diff)
downloadportage-e2e0cc661a2c3978a54e9a4b9ae90e04f17f36c5.tar.gz
portage-e2e0cc661a2c3978a54e9a4b9ae90e04f17f36c5.tar.bz2
portage-e2e0cc661a2c3978a54e9a4b9ae90e04f17f36c5.zip
Make `emerge --metadata` work even when metadata-transfer is not in FEATURES.
svn path=/main/trunk/; revision=2789
-rwxr-xr-xbin/emerge4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 6dcf1ea61..5a1ce5c69 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -2713,7 +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:
+ if updatecache_flg and \
+ myaction != "metadata" and \
+ "metadata-transfer" not in portage.settings.features:
updatecache_flg = False
if os.path.exists(myportdir+"/metadata/cache") and updatecache_flg: