diff options
Diffstat (limited to '')
-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); |