aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-06 19:39:11 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-06 19:39:11 +0000
commit99d014f769cb501364488447d79c1728bfcc85dd (patch)
tree4f0b05a3bd0c85e235935af26a8ddb7de1c1115a
parente669b0130a39065105ec356578701e84e34172a0 (diff)
downloadpaludis-99d014f769cb501364488447d79c1728bfcc85dd.tar.gz
paludis-99d014f769cb501364488447d79c1728bfcc85dd.tar.xz
Warn if we can't use repo_name
-rw-r--r--paludis/portage_repository.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/paludis/portage_repository.cc b/paludis/portage_repository.cc
index 6c735fe..ea21de3 100644
--- a/paludis/portage_repository.cc
+++ b/paludis/portage_repository.cc
@@ -495,6 +495,8 @@ PortageRepository::fetch_repo_name(const std::string & location)
catch (...)
{
}
+ Log::get_instance()->message(ll_warning, "Couldn't open repo_name file in '"
+ + location + "/profiles/'. Falling back to a generated name.");
return RepositoryName("x-" + location);
}