aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-05-18 10:35:26 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-05-18 10:35:26 +0000
commitd7ff5b42327a29b650e51a71e97fdecfa5276c43 (patch)
tree787eed9543c41f0ae5710584727853fc359fdce7
parent410795866edd8f02d5ea9e7ab689cb09a2d4db2c (diff)
downloadpaludis-d7ff5b42327a29b650e51a71e97fdecfa5276c43.tar.gz
paludis-d7ff5b42327a29b650e51a71e97fdecfa5276c43.tar.xz
Really make importare add packages to world.
-rw-r--r--NEWS3
-rw-r--r--src/clients/importare/install.cc3
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1c976a2..9394934 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,9 @@ trunk/:
* Compilers without tr1 memory, type traits and functional support are no
longer supported. This means you, gcc-3.
+ * bug fix: importare now really adds packages to world by default, as
+ promised in 0.26.0_pre3.
+
0.26.0:
* Fixed gcc-3.4 compile.
diff --git a/src/clients/importare/install.cc b/src/clients/importare/install.cc
index be8231b..b65ef51 100644
--- a/src/clients/importare/install.cc
+++ b/src/clients/importare/install.cc
@@ -134,6 +134,9 @@ do_install(const std::tr1::shared_ptr<Environment> & env, const std::tr1::shared
{
Context context("When performing install action from command line:");
+ CommandLine::get_instance()->install_args.a_add_to_world_spec.set_specified(true);
+ CommandLine::get_instance()->install_args.a_add_to_world_spec.set_argument(stringify(target->name()));
+
DepListOptions options;
CommandLine::get_instance()->dl_args.populate_dep_list_options(env.get(), options);
CommandLine::get_instance()->install_args.populate_dep_list_options(env.get(), options);