summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-12-31 00:09:11 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-12-31 02:29:21 +0100
commitc15ba854b6736696f164e4d2c243a944e2d4006e (patch)
tree9a5e549485c0c59ee196201cf2e73e41ee4879ec /apt-private
parent44ecb8c3579e5ae8828f83530e4151a0ff84d5d6 (diff)
use FindB instead of FindI for Debug::pkgAutoRemove
Again no practical difference, but for consistency a boolean option should really be accessed via a boolean method rather than an int especially if you happen to try setting the option to "true" … Gbp-Dch: Ignore
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-install.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc
index e3fe46960..b49c7f2ef 100644
--- a/apt-private/private-install.cc
+++ b/apt-private/private-install.cc
@@ -396,7 +396,7 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask, bool Safety)
/* Remove unused automatic packages */
bool DoAutomaticRemove(CacheFile &Cache)
{
- bool Debug = _config->FindI("Debug::pkgAutoRemove",false);
+ bool Debug = _config->FindB("Debug::pkgAutoRemove",false);
bool doAutoRemove = _config->FindB("APT::Get::AutomaticRemove", false);
bool hideAutoRemove = _config->FindB("APT::Get::HideAutoRemove");