aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-11 23:18:26 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-11 23:18:38 +0100
commitee28577088fc168cdf81e1b79ecdc7d7c7f4adc6 (patch)
tree8790337fe19b81f485ee63adec26173f45366316 /paludis/environments/paludis
parent9c2ee6d96bbe00dd0b77d652613c7ad5a8dea846 (diff)
downloadpaludis-ee28577088fc168cdf81e1b79ecdc7d7c7f4adc6.tar.gz
paludis-ee28577088fc168cdf81e1b79ecdc7d7c7f4adc6.tar.xz
Don't create virtuals repos
Diffstat (limited to 'paludis/environments/paludis')
-rw-r--r--paludis/environments/paludis/paludis_config.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/paludis/environments/paludis/paludis_config.cc b/paludis/environments/paludis/paludis_config.cc
index 03b5f7b33..e722cc5e5 100644
--- a/paludis/environments/paludis/paludis_config.cc
+++ b/paludis/environments/paludis/paludis_config.cc
@@ -654,21 +654,6 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
if (_imp->repos.empty())
throw PaludisConfigError("No repositories specified");
-
-#ifdef ENABLE_VIRTUALS_REPOSITORY
- /* add virtuals repositories */
- if ((*DistributionData::get_instance()->distribution_from_string(distribution())).support_old_style_virtuals())
- {
- std::shared_ptr<Map<std::string, std::string> > iv_keys(std::make_shared<Map<std::string, std::string>>());
- iv_keys->insert("root", _imp->root_prefix.empty() ? "/" : _imp->root_prefix);
- iv_keys->insert("format", "installed_virtuals");
- _imp->repos.push_back(std::bind(&from_keys, iv_keys, std::placeholders::_1));
-
- std::shared_ptr<Map<std::string, std::string> > v_keys(std::make_shared<Map<std::string, std::string>>());
- v_keys->insert("format", "virtuals");
- _imp->repos.push_back(std::bind(&from_keys, v_keys, std::placeholders::_1));
- }
-#endif
}
/* keywords */