summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-08-28 22:26:32 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-08-28 22:26:32 +0200
commitb093a199056673b55e6467ab9e22e8af15183c43 (patch)
treea7e26503f1f4325691612a6be4ed20233bcfe58e /apt-pkg/depcache.h
parente56aac77a45e7a9a5620be12dfae0e2296f1d560 (diff)
* apt-pkg/contrib/configuration.cc:
- fix autoremove by using correct config-option name and don't make faulty assumptions in error handling (Closes: #594689)
Diffstat (limited to 'apt-pkg/depcache.h')
-rw-r--r--apt-pkg/depcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h
index 45276dc95..08e683558 100644
--- a/apt-pkg/depcache.h
+++ b/apt-pkg/depcache.h
@@ -186,7 +186,7 @@ class pkgDepCache : protected pkgCache::Namespace
class DefaultRootSetFunc : public InRootSetFunc, public Configuration::MatchAgainstConfig
{
public:
- DefaultRootSetFunc() : Configuration::MatchAgainstConfig("APT::NeverRemove") {};
+ DefaultRootSetFunc() : Configuration::MatchAgainstConfig("APT::NeverAutoRemove") {};
virtual ~DefaultRootSetFunc() {};
bool InRootSet(const pkgCache::PkgIterator &pkg) { return pkg.end() == true && Match(pkg.Name()); };