aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-02-19 21:54:47 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-02-19 21:54:47 +0000
commit0da55a32d0dc88fdfadbf2eb9ebd68750a0684ae (patch)
tree336bc6ee61f746b7abb0a39bc2857e766d935a93
parent963f2babd6ccb4f0156d8da4d4fa99fbfeae0613 (diff)
downloadpaludis-0da55a32d0dc88fdfadbf2eb9ebd68750a0684ae.tar.gz
paludis-0da55a32d0dc88fdfadbf2eb9ebd68750a0684ae.tar.xz
Use client_output_features
-rw-r--r--paludis/environments/paludis/output_conf.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/environments/paludis/output_conf.cc b/paludis/environments/paludis/output_conf.cc
index 177d459..d41aa95 100644
--- a/paludis/environments/paludis/output_conf.cc
+++ b/paludis/environments/paludis/output_conf.cc
@@ -245,6 +245,7 @@ namespace
m->insert("action", "sync");
m->insert("name", stringify(i.repository_name()));
m->insert("full_name", stringify(i.repository_name()));
+ m->insert("summaries_supported", stringify(i.client_output_features()[cof_summary_at_end]));
}
void visit(const CreateOutputManagerForPackageIDActionInfo & i)
@@ -260,6 +261,7 @@ namespace
m->insert("repository", stringify(i.package_id()->repository()->name()));
m->insert("category", stringify(i.package_id()->name().category()));
m->insert("package", stringify(i.package_id()->name().package()));
+ m->insert("summaries_supported", stringify(i.client_output_features()[cof_summary_at_end]));
}
};
@@ -424,6 +426,8 @@ OutputConf::create_named_output_manager(const std::string & s, const CreateOutpu
std::string value;
if (_imp->misc_vars.end() != _imp->misc_vars.find(condition_variable))
value = _imp->misc_vars.find(condition_variable)->second;
+ else if (vars->end() != vars->find(condition_variable))
+ value = vars->find(condition_variable)->second;
std::string alias_var;
if (value.empty())