From 03f07b4dc86efcc102f76da5e3cbeeee21ae1316 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 08:15:42 +0200 Subject: Using apt binary specific configuration for apt-get. Signed-off-by: Daniel Baumann --- debian/patches/progress-linux/0001-apt-options.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/progress-linux/0001-apt-options.patch create mode 100644 debian/patches/series 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 +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); diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..80c0f62 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +progress-linux/0001-apt-options.patch -- cgit v1.2.3