From 08089fdd3284fcb27bcec347d6bf88ec2a79a8a0 Mon Sep 17 00:00:00 2001 From: Tom Bereknyei Date: Sun, 11 Jun 2023 13:33:38 -0400 Subject: fix: Do not apply default installables when using --stdin --- src/libcmd/installables.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcmd/installables.cc b/src/libcmd/installables.cc index a2b882355..684d76a57 100644 --- a/src/libcmd/installables.cc +++ b/src/libcmd/installables.cc @@ -730,9 +730,9 @@ void RawInstallablesCommand::run(ref store) while (std::cin >> word) { rawInstallables.emplace_back(std::move(word)); } + } else { + applyDefaultInstallables(rawInstallables); } - - applyDefaultInstallables(rawInstallables); run(store, std::move(rawInstallables)); } -- cgit v1.2.3