blob: 7eb401297b57ba5e440471266b2eb888add01074 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Author: Daniel Baumann <daniel.baumann@progress-linux.org>
Description: Using apt binary specific configuration for apt-get.
diff -Naurp apt.orig/apt-private/private-cmndline.cc apt/apt-private/private-cmndline.cc
--- apt.orig/apt-private/private-cmndline.cc
+++ apt/apt-private/private-cmndline.cc
@@ -485,7 +485,7 @@ static void BinarySpecificConfiguration(
{
_config->CndSet("Binary::apt-cdrom::APT::Internal::OpProgress::EraseLines", false);
}
- if (binary == "apt" || binary == "apt-config")
+ if (binary == "apt" || binary == "apt-get" || binary == "apt-config")
{
if (getenv("NO_COLOR") == nullptr && getenv("APT_NO_COLOR") == nullptr)
_config->CndSet("Binary::apt::APT::Color", true);
|