aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-20 16:21:04 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-20 16:21:04 +0100
commit1565568ca49b68c74a00f0f0b1457806fdabcbaa (patch)
tree7b102660bd2f0a3d09a5f58fcb490a4f4c6c294e
parent2259902ded08358c8bd54e7373ad1daead98faf7 (diff)
downloadpaludis-1565568ca49b68c74a00f0f0b1457806fdabcbaa.tar.gz
paludis-1565568ca49b68c74a00f0f0b1457806fdabcbaa.tar.xz
layout.conf doesn't imply masters
-rw-r--r--paludis/repositories/e/e_repository.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index ae1ec73..69b58b6 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -1162,7 +1162,7 @@ ERepository::repository_factory_create(
std::shared_ptr<ERepositorySequence> master_repositories;
std::string master_repository_str(f("master_repository"));
- if (master_repository_str.empty() && ! layout_conf)
+ if (master_repository_str.empty() && ((! layout_conf) || (layout_conf->get("masters").empty())))
master_repository_str = f("master_repository_if_unknown");
if (! master_repository_str.empty())