From 2dd532943086cfebee7ec64d7155812bdc0cc28e Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Fri, 3 Feb 2006 14:37:11 +0000 Subject: [PATCH] let the target contribute to the Pool --- zypp/zypp_detail/ZYppImpl.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/zypp/zypp_detail/ZYppImpl.cc b/zypp/zypp_detail/ZYppImpl.cc index cea8315..68b7c84 100644 --- a/zypp/zypp_detail/ZYppImpl.cc +++ b/zypp/zypp_detail/ZYppImpl.cc @@ -66,10 +66,11 @@ namespace zypp void ZYppImpl::initTarget(const Pathname & root) { - if (_target) - _target = Target_Ptr(); - _target = new Target(root); - } + if (_target) + _target = Target_Ptr(); + _target = new Target(root); + addResolvables (_target->resolvables(), true); + } void ZYppImpl::finishTarget() { -- 2.7.4