X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/90986d4dbbd38e2e89f986d621e301304210452e..2853201580944cb4e5a2a8a810e800e89e9a0475:/apt-private/private-cmndline.cc diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc index 6cffbcb48..829085916 100644 --- a/apt-private/private-cmndline.cc +++ b/apt-private/private-cmndline.cc @@ -156,8 +156,12 @@ static bool addArgumentsAPTInternalSolver(std::vector &, char return true; } /*}}}*/ -static bool addArgumentsAPTHelper(std::vector &, char const * const)/*{{{*/ +static bool addArgumentsAPTHelper(std::vector &Args, char const * const Cmd)/*{{{*/ { + if (CmdMatches("cat-file")) + { + addArg('C', "compress", "Apt-Helper::Cat-File::Compress",CommandLine::HasArg); + } return true; } /*}}}*/ @@ -435,6 +439,7 @@ static void BinarySpecificConfiguration(char const * const Binary) /*{{{*/ _config->CndSet("Binary::apt::APT::Cmd::Show-Update-Stats", true); _config->CndSet("Binary::apt::DPkg::Progress-Fancy", true); _config->CndSet("Binary::apt::Acquire::AllowInsecureRepositories", false); + _config->CndSet("Binary::apt::APT::Keep-Downloaded-Packages", false); } _config->Set("Binary", binary);