aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-05-17 09:25:30 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-05-17 09:25:30 +0100
commitf5d6720601d520087d16cda5535662451e799e6e (patch)
tree3668257fe6ae2b6f85afd8cbc8ffd4d76d628763
parent4f70937550c52af7b88beedfe59ca9443ed544ee (diff)
downloadpaludis-f5d6720601d520087d16cda5535662451e799e6e.tar.gz
paludis-f5d6720601d520087d16cda5535662451e799e6e.tar.xz
Ask env to update config files for updates
-rw-r--r--paludis/repositories/e/vdb_repository.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/paludis/repositories/e/vdb_repository.cc b/paludis/repositories/e/vdb_repository.cc
index 2cb4ec2..49d0a3e 100644
--- a/paludis/repositories/e/vdb_repository.cc
+++ b/paludis/repositories/e/vdb_repository.cc
@@ -1588,6 +1588,15 @@ VDBRepository::perform_updates()
rewrite_done |= rewrite_dependencies((*i)->fs_location_key()->value() / (*i)->suggested_dependencies_key()->raw_name(),
(*i)->suggested_dependencies_key(), dep_rewrites);
}
+
+ std::cout << std::endl << "Updating configuration files" << std::endl;
+
+ for (DepRewrites::const_iterator i(dep_rewrites.begin()), i_end(dep_rewrites.end()) ;
+ i != i_end ; ++i)
+ _imp->params.environment()->update_config_files_for_package_move(
+ make_package_dep_spec(PartiallyMadePackageDepSpecOptions()).package(i->first),
+ i->second
+ );
}
if (! failed)