summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-09-29 15:24:11 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-09-29 15:24:11 +0200
commitb0a6debfa93f547ce843732962314743d8282567 (patch)
treee72b515021742cc05e8c6fb6ab45b657ad6fd92c /cmdline
parentbdce936af01878a0f2ff3056621e3278e17d1ae3 (diff)
parentb255ff1a1161385b7f52454ec8661f058f05d6db (diff)
* merged from apt--auto-mark
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 9a3140428..765591b14 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1420,7 +1420,7 @@ bool DoUpdate(CommandLine &CmdL)
bool DoAutomaticRemove(CacheFile &Cache)
{
bool Debug = _config->FindI("Debug::pkgAutoRemove",false);
- bool doAutoRemove = _config->FindB("APT::Get::AutomaticRemove");
+ bool doAutoRemove = _config->FindB("APT::Get::AutomaticRemove", false);
pkgDepCache::ActionGroup group(*Cache);
@@ -2646,7 +2646,6 @@ void GetInitialize()
_config->Set("APT::Get::Fix-Broken",false);
_config->Set("APT::Get::Force-Yes",false);
_config->Set("APT::Get::List-Cleanup",true);
- _config->Set("APT::Get::AutomaticRemove",false);
}
/*}}}*/
// SigWinch - Window size change signal handler /*{{{*/