[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#173619: inverted value of Immediate-Configure



Package: apt
Version: 0.5.4

The value of the "APT::Immediate-Configure" configuration file entry has
inverted semantics. Setting it to "false" enables immediate configuration,
while setting to "true" disables it.

Here is the fix:

diff -Naur apt-0.5.4.orig/apt-pkg/packagemanager.cc apt-0.5.4/apt-pkg/packagemanager.cc
--- apt-0.5.4.orig/apt-pkg/packagemanager.cc	2001-05-27 07:36:04.000000000 +0200
+++ apt-0.5.4/apt-pkg/packagemanager.cc	2002-12-02 18:46:54.000000000 +0100
@@ -133,7 +133,7 @@
    delete List;
    List = new pkgOrderList(&Cache);

-   bool NoImmConfigure = _config->FindB("APT::Immediate-Configure",false);
+   bool NoImmConfigure = !_config->FindB("APT::Immediate-Configure",true);

    // Generate the list of affected packages and sort it
    for (PkgIterator I = Cache.PkgBegin(); I.end() == false; I++)



bye,
Egmont




Reply to: