Using apt binary specific configuration for apt-get.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
7d511e166f
commit
c5b38e9bd1
2 changed files with 16 additions and 0 deletions
15
debian/patches/progress-linux/0001-apt-options.patch
vendored
Normal file
15
debian/patches/progress-linux/0001-apt-options.patch
vendored
Normal file
|
@ -0,0 +1,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
|
||||
@@ -492,7 +492,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);
|
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
progress-linux/0001-apt-options.patch
|
Loading…
Add table
Add a link
Reference in a new issue