summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-26 12:54:17 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-26 12:54:17 -0700
commit5f17d938bdb21871fee46197439da0b1f8d54b7b (patch)
treee1b38554f666579d09d29b834417d822f6edefa5
parent9d71e68de000d94ac627e40a7e53e77d6e53ac9a (diff)
downloadportage-5f17d938bdb21871fee46197439da0b1f8d54b7b.tar.gz
portage-5f17d938bdb21871fee46197439da0b1f8d54b7b.tar.bz2
portage-5f17d938bdb21871fee46197439da0b1f8d54b7b.zip
Make egencache only show a warning about FEATURES=metata-transfer if the
--update option is given.
-rwxr-xr-xbin/egencache2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/egencache b/bin/egencache
index 515c6566d..64e60925b 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -404,7 +404,7 @@ def egencache_main(args):
'and/or --update-use-local-desc)')
return 1
- if 'metadata-transfer' not in settings.features:
+ if options.update and 'metadata-transfer' not in settings.features:
writemsg_level("ecachegen: warning: " + \
"automatically enabling FEATURES=metadata-transfer\n",
level=logging.WARNING, noiselevel=-1)