aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/vdb_repository.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/vdb_repository.cc')
-rw-r--r--paludis/repositories/e/vdb_repository.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/paludis/repositories/e/vdb_repository.cc b/paludis/repositories/e/vdb_repository.cc
index f3098d563..7ccb5d5f3 100644
--- a/paludis/repositories/e/vdb_repository.cc
+++ b/paludis/repositories/e/vdb_repository.cc
@@ -467,11 +467,16 @@ VDBRepository::perform_uninstall(
std::string final_config_protect(config_protect + " " + a.options.config_protect());
+ std::shared_ptr<const Contents> contents(a.options.override_contents());
+ if (! contents)
+ contents = id->contents_key()->value();
+
/* unmerge */
VDBUnmerger unmerger(
make_named_values<VDBUnmergerOptions>(
n::config_protect() = final_config_protect,
n::config_protect_mask() = config_protect_mask,
+ n::contents() = contents,
n::environment() = _imp->params.environment(),
n::ignore() = a.options.ignore_for_unmerge(),
n::output_manager() = output_manager,