summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0001-apt-options.patch
blob: 905944a8b630f3c898c110623ab9e8602ea38e47 (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
@@ -472,7 +472,7 @@ static bool ShowCommonHelp(APT_CMD const
 static void BinarySpecificConfiguration(char const * const Binary)	/*{{{*/
 {
    std::string const binary = flNotDir(Binary);
-   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);