diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 18:07:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 18:10:48 +0000 |
commit | 04cd3876206f9222acfeb310c4c539093f65d73a (patch) | |
tree | 4e26677649f3c28079a516f19d12e8a1cd434a9f /debian/patches/progress-linux | |
parent | Updating source format. (diff) | |
download | apt-04cd3876206f9222acfeb310c4c539093f65d73a.tar.xz apt-04cd3876206f9222acfeb310c4c539093f65d73a.zip |
Using apt binary specific configuration for apt-get.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/progress-linux')
-rw-r--r-- | debian/patches/progress-linux/0001-apt-options.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0001-apt-options.patch b/debian/patches/progress-linux/0001-apt-options.patch new file mode 100644 index 0000000..368438e --- /dev/null +++ b/debian/patches/progress-linux/0001-apt-options.patch @@ -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 +@@ -456,7 +456,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") + { + _config->CndSet("Binary::apt::APT::Color", true); + _config->CndSet("Binary::apt::APT::Cache::Show::Version", 2); |