From: Zac Medico Date: Sun, 26 Feb 2006 10:27:24 +0000 (-0000) Subject: Make `emerge --metadata` work even when metadata-transfer is not in FEATURES. X-Git-Tag: v2.1_pre6~51 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e2e0cc661a2c3978a54e9a4b9ae90e04f17f36c5;p=portage.git Make `emerge --metadata` work even when metadata-transfer is not in FEATURES. svn path=/main/trunk/; revision=2789 --- 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: