Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Inappropriate [configuration] |
| 2 | Signed-off-by: Constantin Musca <constantinx.musca@intel.com> |
| 3 | |
| 4 | |
| 5 | diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc |
| 6 | index 249542c..0a1911f 100644 |
| 7 | --- a/apt-pkg/packagemanager.cc |
| 8 | +++ b/apt-pkg/packagemanager.cc |
| 9 | @@ -952,10 +952,12 @@ bool pkgPackageManager::SmartUnPack(PkgIterator Pkg, bool const Immediate, int c |
| 10 | return false; |
| 11 | |
| 12 | if (Immediate == true) { |
| 13 | +#if 0 |
| 14 | // Perform immedate configuration of the package. |
| 15 | if (SmartConfigure(Pkg, Depth + 1) == false) |
| 16 | _error->Error(_("Could not perform immediate configuration on '%s'. " |
| 17 | "Please see man 5 apt.conf under APT::Immediate-Configure for details. (%d)"),Pkg.FullName().c_str(),2); |
| 18 | +#endif |
| 19 | } |
| 20 | |
| 21 | return true; |
| 22 | @@ -1038,6 +1040,7 @@ pkgPackageManager::OrderResult pkgPackageManager::OrderInstall() |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | +#if 0 |
| 27 | // Final run through the configure phase |
| 28 | if (ConfigureAll() == false) |
| 29 | return Failed; |
| 30 | @@ -1052,6 +1055,7 @@ pkgPackageManager::OrderResult pkgPackageManager::OrderInstall() |
| 31 | return Failed; |
| 32 | } |
| 33 | } |
| 34 | +#endif |
| 35 | |
| 36 | return Completed; |
| 37 | } |