From a97f4ccb99922341a3891d844987d87d6659a92b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 23 Apr 2024 06:20:35 +0200 Subject: Refreshing apt-options.patch. Signed-off-by: Daniel Baumann --- debian/patches/progress-linux/0001-apt-options.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/patches') diff --git a/debian/patches/progress-linux/0001-apt-options.patch b/debian/patches/progress-linux/0001-apt-options.patch index 02ae46e..7eb4012 100644 --- a/debian/patches/progress-linux/0001-apt-options.patch +++ b/debian/patches/progress-linux/0001-apt-options.patch @@ -11,5 +11,5 @@ diff -Naurp apt.orig/apt-private/private-cmndline.cc apt/apt-private/private-cmn - if (binary == "apt" || binary == "apt-config") + if (binary == "apt" || binary == "apt-get" || binary == "apt-config") { - if (getenv("NO_COLOR") == nullptr) - _config->CndSet("Binary::apt::APT::Color", true); + if (getenv("NO_COLOR") == nullptr && getenv("APT_NO_COLOR") == nullptr) + _config->CndSet("Binary::apt::APT::Color", true); -- cgit v1.2.3