diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-23 04:20:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-23 04:20:53 +0000 |
commit | a97f4ccb99922341a3891d844987d87d6659a92b (patch) | |
tree | 3c67a1d019f69ebd30d12cad2232941133cc6755 | |
parent | Merging debian version 2.9.2. (diff) | |
download | apt-a97f4ccb99922341a3891d844987d87d6659a92b.tar.xz apt-a97f4ccb99922341a3891d844987d87d6659a92b.zip |
Refreshing apt-options.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/patches/progress-linux/0001-apt-options.patch | 4 |
1 files changed, 2 insertions, 2 deletions
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); |