diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2009-09-18 16:54:48 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2009-09-18 16:54:48 +0200 |
commit | d5081aeeb0a1bf4098e3a0d8395e4c7b84f4ac9e (patch) | |
tree | 3d743356751948586463c2296e0c596942744c7e /apt-pkg/orderlist.cc | |
parent | 5e312de78360736fa3ef505909ef84da211362ca (diff) | |
download | apt-d5081aeeb0a1bf4098e3a0d8395e4c7b84f4ac9e.tar.gz |
cleanup commit for trigger processing:
- remove the DPkg::NoConfTriggers - absolutely useless as we need
TriggersPending already so we can use --no-triggers.
- remove the Immediate-option from the example, it doesn't help much.
- UnpackCritical uses DepUnPackPre with a D (on simple letter...)
- the "smart" optimisation to skip A was not so smart - revert.
Diffstat (limited to 'apt-pkg/orderlist.cc')
-rw-r--r-- | apt-pkg/orderlist.cc | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/apt-pkg/orderlist.cc b/apt-pkg/orderlist.cc index e5bd8247d..0ee2e2bc8 100644 --- a/apt-pkg/orderlist.cc +++ b/apt-pkg/orderlist.cc @@ -175,7 +175,7 @@ bool pkgOrderList::OrderCritical() { FileList = 0; - Primary = &pkgOrderList::DepUnPackPre; + Primary = &pkgOrderList::DepUnPackPreD; Secondary = 0; RevDepends = 0; Remove = 0; @@ -238,15 +238,10 @@ bool pkgOrderList::OrderUnpack(string *FileList) Me = this; qsort(List,End - List,sizeof(*List),&OrderCompareA); - if (_config->Find("PackageManager::Configure","all") == "all") - { - if (Debug == true) - clog << "** Pass A" << endl; - if (DoRun() == false) - return false; - } - else if (Debug == true) - clog << "** Skip A (same as B for non-all Configure)" << endl; + if (Debug == true) + clog << "** Pass A" << endl; + if (DoRun() == false) + return false; if (Debug == true) clog << "** Pass B" << endl; |