From 5f17d938bdb21871fee46197439da0b1f8d54b7b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 26 Aug 2010 12:54:17 -0700 Subject: [PATCH] Make egencache only show a warning about FEATURES=metata-transfer if the --update option is given. --- bin/egencache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2