diff options
Diffstat (limited to 'apt-pkg/packagemanager.cc')
-rw-r--r-- | apt-pkg/packagemanager.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc index 8f884eac6..173fa8085 100644 --- a/apt-pkg/packagemanager.cc +++ b/apt-pkg/packagemanager.cc @@ -1039,8 +1039,12 @@ pkgPackageManager::OrderResult pkgPackageManager::OrderInstall() std::string const planer = _config->Find("APT::Planer", "internal"); if (planer != "internal") - if (EIPP::OrderInstall(planer.c_str(), Cache, 0, nullptr) == false) + { + if (EIPP::OrderInstall(planer.c_str(), this, 0, nullptr)) + return Completed; + else return Failed; + } bool const ordering = _config->FindB("PackageManager::UnpackAll",true) ? |