From 58436fc3b7507d5c0f6fcf1a4a072c71961c42f2 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 19 Apr 2024 16:20:43 +0200 Subject: private-output: Remove check for output version for color This is somewhat pointless. --- apt-private/private-output.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apt-private/private-output.h b/apt-private/private-output.h index 330801bb0..a3e961458 100644 --- a/apt-private/private-output.h +++ b/apt-private/private-output.h @@ -52,8 +52,8 @@ template bool bool printedTitle = false; std::vector PackageList; - auto setColor = _config->FindI("APT::Output-Version") >= 30 ? APT::Configuration::color(colorName) : ""; - auto resetColor = _config->FindI("APT::Output-Version") >= 30 && not setColor.empty() ? APT::Configuration::color("neutral") : ""; + auto setColor = APT::Configuration::color(colorName); + auto resetColor = not setColor.empty() ? APT::Configuration::color("neutral") : ""; for (auto const &Pkg: cont) { -- cgit v1.2.3-70-g09d2