aboutsummaryrefslogtreecommitdiff
path: root/load
diff options
context:
space:
mode:
Diffstat (limited to 'load')
-rw-r--r--load/load.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/load/load.cxx b/load/load.cxx
index 16bdd40..3408284 100644
--- a/load/load.cxx
+++ b/load/load.cxx
@@ -667,6 +667,9 @@ load_repositories (const options& lo,
manifest_parser mp (ifs, p.string ());
rpm = pkg_repository_manifests (mp, ignore_unknown);
+
+ if (rpm.empty ())
+ rpm.emplace_back (repository_manifest ()); // Add the base repository.
}
catch (const io_error& e)
{