aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_install.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
-rw-r--r--toolsrc/src/commands_install.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp
index e5c5dd013..0371cc6e5 100644
--- a/toolsrc/src/commands_install.cpp
+++ b/toolsrc/src/commands_install.cpp
@@ -205,21 +205,21 @@ namespace vcpkg::Commands::Install
{
try
{
- if (action.plan.type == install_plan_type::ALREADY_INSTALLED)
+ if (action.plan.plan_type == install_plan_type::ALREADY_INSTALLED)
{
if (std::find(specs.begin(), specs.end(), action.spec) != specs.end())
{
System::println(System::color::success, "Package %s is already installed", action.spec);
}
}
- else if (action.plan.type == install_plan_type::BUILD_AND_INSTALL)
+ else if (action.plan.plan_type == install_plan_type::BUILD_AND_INSTALL)
{
Commands::Build::build_package(*action.plan.source_pgh, action.spec, paths, paths.port_dir(action.spec));
const BinaryParagraph bpgh = try_load_cached_package(paths, action.spec).get_or_throw();
install_package(paths, bpgh, status_db);
System::println(System::color::success, "Package %s is installed", action.spec);
}
- else if (action.plan.type == install_plan_type::INSTALL)
+ else if (action.plan.plan_type == install_plan_type::INSTALL)
{
install_package(paths, *action.plan.binary_pgh, status_db);
System::println(System::color::success, "Package %s is installed", action.spec);