summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: