summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-01-15 22:01:54 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2020-01-15 22:19:17 +0100
commit21cb4a9e513ccb6f376fbcaf67957c4851cbbe32 (patch)
treed18cb6cf693d955e8d4b38300981e23938b9f995 /apt-private
parent5db3a38926aa820546c411dd9f49f57eea24cd9e (diff)
apt(8): Disable regular expressions and fnmatch
This is the first step. Next step will be to add warnings to apt-get and then remove support there as well.
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-cmndline.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc
index a78cbaf1a..c5edae5d0 100644
--- a/apt-private/private-cmndline.cc
+++ b/apt-private/private-cmndline.cc
@@ -474,6 +474,7 @@ static void BinarySpecificConfiguration(char const * const Binary) /*{{{*/
_config->CndSet("Binary::apt::DPkg::Progress-Fancy", true);
_config->CndSet("Binary::apt::APT::Keep-Downloaded-Packages", false);
_config->CndSet("Binary::apt::APT::Get::Update::InteractiveReleaseInfoChanges", true);
+ _config->CndSet("Binary::apt::APT::Cmd::Pattern-Only", true);
}
_config->Set("Binary", binary);