apt/apt-0.5.15cnc6-alt-rpm-order.patch

26 lines
827 B
Diff
Raw Normal View History

diff -upr apt-0.5.15cnc6.orig/apt-pkg/rpm/rpmpm.cc apt-0.5.15cnc6/apt-pkg/rpm/rpmpm.cc
--- apt-0.5.15cnc6/apt-pkg/rpm/rpmpm.cc.orig 2004-05-11 18:13:51 +0400
+++ apt-0.5.15cnc6/apt-pkg/rpm/rpmpm.cc 2004-05-13 16:06:47 +0400
@@ -496,7 +496,7 @@ bool pkgRPMExtPM::ExecRPM(Item::RPMOps o
}
}
- if (_config->FindB("RPM::Order", false) == false)
+ if (_config->FindB("RPM::Order", true) == false)
Args[n++] = "--noorder";
bool FilesInArgs = true;
@@ -864,10 +864,10 @@
rc = 0;
#if RPM_VERSION >= 0x040100
- if (_config->FindB("RPM::Order", false) == true)
+ if (_config->FindB("RPM::Order", true) == true)
rc = rpmtsOrder(TS);
#else
- if (_config->FindB("RPM::Order", false) == true)
+ if (_config->FindB("RPM::Order", true) == true)
rc = rpmdepOrder(TS);
#endif