aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-26 16:35:33 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-26 16:35:33 +0000
commit9990588a618aa7681ff483c72e0d82048d19c0f0 (patch)
treef975b236443c950a865a58179900f0c3c96c917a
parent313b097fbf41d52f17a068bf6e6c168287ad6bf2 (diff)
downloadpaludis-9990588a618aa7681ff483c72e0d82048d19c0f0.tar.gz
paludis-9990588a618aa7681ff483c72e0d82048d19c0f0.tar.xz
Don't show the faq message if there're no rewrites to do
-rw-r--r--paludis/repositories/e/vdb_repository.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/vdb_repository.cc b/paludis/repositories/e/vdb_repository.cc
index e622792..ad4a006 100644
--- a/paludis/repositories/e/vdb_repository.cc
+++ b/paludis/repositories/e/vdb_repository.cc
@@ -1518,7 +1518,7 @@ VDBRepository::perform_updates()
(*i)->suggested_dependencies_key(), dep_rewrites);
}
- if ("yes" != getenv_with_default("PALUDIS_CARRY_OUT_UPDATES", ""))
+ if ((rewrite_done) && ("yes" != getenv_with_default("PALUDIS_CARRY_OUT_UPDATES", "")))
{
std::cout << "Some installed packages have dependencies that need rewriting for package" << std::endl;
std::cout << "moves. See the Paludis FAQ for how to proceed." << std::endl;