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.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp
index 549a2f91d..2a2202099 100644
--- a/toolsrc/src/commands_install.cpp
+++ b/toolsrc/src/commands_install.cpp
@@ -286,10 +286,7 @@ namespace vcpkg::Commands::Install
switch (action.plan.plan_type)
{
case InstallPlanType::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);
- }
+ System::println(System::Color::success, "Package %s is already installed", action.spec);
break;
case InstallPlanType::BUILD_AND_INSTALL:
{