aboutsummaryrefslogtreecommitdiff
path: root/paludis/portage_repository.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/portage_repository.cc')
-rw-r--r--paludis/portage_repository.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/paludis/portage_repository.cc b/paludis/portage_repository.cc
index 3fa056e..6de148e 100644
--- a/paludis/portage_repository.cc
+++ b/paludis/portage_repository.cc
@@ -1184,7 +1184,14 @@ PortageRepository::do_install(const QualifiedPackageName & q, const VersionSpec
}
std::string actions;
- if (metadata->get(vmk_virtual).empty())
+ if (o.get<io_fetchonly>())
+ {
+ if (metadata->get(vmk_virtual).empty())
+ actions = "init fetch";
+ else
+ actions = "";
+ }
+ else if (metadata->get(vmk_virtual).empty())
actions = "init fetch setup unpack compile test install strip preinst merge postinst tidyup";
else
actions = "merge";