summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <egon@bottom>2006-12-14 11:34:01 +0100
committerMichael Vogt <egon@bottom>2006-12-14 11:34:01 +0100
commita8d4b8ff68e674110799fb193a897af56ca6a041 (patch)
tree69cdcd8031003642adec18b451730bb08a733c74 /cmdline
parentc5100d8bb855b0dcc80c896b367ae66ca213ce4b (diff)
parent0e4fe941a62583660e966cccf630a8895b9d29bc (diff)
* merged from the apt--auto-mark branch
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 be4b46857..6949dc6eb 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1409,7 +1409,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);
@@ -2621,7 +2621,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 /*{{{*/