summaryrefslogtreecommitdiff
path: root/apt-private/private-install.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-12-31 00:09:11 +0100
committerJulian Andres Klode <jak@debian.org>2017-02-22 18:11:44 +0100
commitcc27b83453d65019b21e0879d3b5806210b9b025 (patch)
treefae85ffdeb43177eed024f36eb2b26b1a0be88c6 /apt-private/private-install.cc
parente81fd8d19c433b5b96f91d9e905ed2f1e5d96ce6 (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 (cherry picked from commit c15ba854b6736696f164e4d2c243a944e2d4006e) (cherry picked from commit c0dc26456ba74da449eae11c04c3edb3b5f1e35e)
Diffstat (limited to 'apt-private/private-install.cc')
-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 9716e6580..0377955ae 100644
--- a/apt-private/private-install.cc
+++ b/apt-private/private-install.cc
@@ -398,7 +398,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");