From e2e0cc661a2c3978a54e9a4b9ae90e04f17f36c5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 26 Feb 2006 10:27:24 +0000 Subject: [PATCH] Make `emerge --metadata` work even when metadata-transfer is not in FEATURES. svn path=/main/trunk/; revision=2789 --- bin/emerge | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- 2.26.2