diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-02-26 10:27:24 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-02-26 10:27:24 +0000 |
commit | e2e0cc661a2c3978a54e9a4b9ae90e04f17f36c5 (patch) | |
tree | a63338aec69b00b08af685238d3973b105d15785 | |
parent | e0a87f32467aaaf1db54ac4772f52c4de4ac42e8 (diff) | |
download | portage-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-x | bin/emerge | 4 |
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: |