aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_repository_profile.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-03 15:36:30 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-03 15:36:30 +0000
commit4edc4bb3c61d0d0666615cff512c7b7a038a8ac4 (patch)
tree5dbd3ee65b711f2e00762740d4200579dab87fd0 /paludis/repositories/e/e_repository_profile.cc
parentb09997f982281ee2504db20b49df6d2696ed50da (diff)
downloadpaludis-4edc4bb3c61d0d0666615cff512c7b7a038a8ac4.tar.gz
paludis-4edc4bb3c61d0d0666615cff512c7b7a038a8ac4.tar.xz
Don't show deprecated profiles notices for qualudis
Diffstat (limited to 'paludis/repositories/e/e_repository_profile.cc')
-rw-r--r--paludis/repositories/e/e_repository_profile.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/paludis/repositories/e/e_repository_profile.cc b/paludis/repositories/e/e_repository_profile.cc
index 5d684bc5d..3a3905cf7 100644
--- a/paludis/repositories/e/e_repository_profile.cc
+++ b/paludis/repositories/e/e_repository_profile.cc
@@ -189,9 +189,10 @@ namespace paludis
{
Context subcontext("When using directory '" + stringify(*d) + "':");
- if ((*d / "deprecated").is_regular_file_or_symlink_to_regular_file())
- Log::get_instance()->message(ll_warning, lc_context) << "Profile directory '" << *d
- << "' is deprecated. See the file '" << (*d / "deprecated") << "' for details";
+ if (! p->params().ignore_deprecated_profiles)
+ if ((*d / "deprecated").is_regular_file_or_symlink_to_regular_file())
+ Log::get_instance()->message(ll_warning, lc_context) << "Profile directory '" << *d
+ << "' is deprecated. See the file '" << (*d / "deprecated") << "' for details";
load_profile_directory_recursively(*d);
}