diff options
author | Michael Vogt <mvo@ubuntu.com> | 2016-01-02 22:08:30 +0100 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2016-01-02 22:18:13 +0100 |
commit | ee02b5b3949372a178d37cadaa08db0bfd5b991f (patch) | |
tree | 873cb79c1a6e86b8dfffe5f65604665c70adb17c /apt-private/private-cmndline.cc | |
parent | bd8274311db48fdcc78456c17c2d59497b96cc2f (diff) |
Add new APT::Keep-Downloaded-Packages option
This option controls if downloaded packages should be kept after
a successful install or if they should be deleted. The default
for "apt-get" is that they are kept (just like before).
However the default for "apt" is that they get deleted.
Closes: #160743
Diffstat (limited to 'apt-private/private-cmndline.cc')
-rw-r--r-- | apt-private/private-cmndline.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc index 6cffbcb48..9234aa278 100644 --- a/apt-private/private-cmndline.cc +++ b/apt-private/private-cmndline.cc @@ -435,6 +435,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); |