From: Zac Medico Date: Thu, 26 Aug 2010 19:54:17 +0000 (-0700) Subject: Make egencache only show a warning about FEATURES=metata-transfer if the X-Git-Tag: v2.2_rc70~49 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f17d938bdb21871fee46197439da0b1f8d54b7b;p=portage.git Make egencache only show a warning about FEATURES=metata-transfer if the --update option is given. --- 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)