summaryrefslogtreecommitdiff
path: root/apt-private/private-install.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-04-19 16:05:08 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2024-04-19 16:58:24 +0200
commite07450beb5a474ec3c099ff3eb329892b040d04c (patch)
tree12ec39caf852bec96cc01e85fc77cf868a548751 /apt-private/private-install.cc
parent58ee0fabc9028fcdf86faab3bb9c1db2b27e3644 (diff)
Use APT::Configuration::color to apply color to output
Diffstat (limited to 'apt-private/private-install.cc')
-rw-r--r--apt-private/private-install.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc
index ecbd703d8..87793d973 100644
--- a/apt-private/private-install.cc
+++ b/apt-private/private-install.cc
@@ -1104,7 +1104,7 @@ bool DoInstall(CommandLine &CmdL)
if (_config->FindI("APT::Output-Version") < 30 && Cache->InstCount() != verset[MOD_INSTALL].size())
ShowList(c1out, _("The following additional packages will be installed:"), Universe,
PkgIsExtraInstalled(&Cache, &verset[MOD_INSTALL]),
- &PrettyFullName, CandidateVersion(&Cache), "APT::Color::Green");
+ &PrettyFullName, CandidateVersion(&Cache), "green");
/* Print out a list of suggested and recommended packages */
if (_config->FindI("APT::Output-Version") < 30)