]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/packagemanager.cc
eipp: add Allow-Temporary-Remove-of-Essentials
[apt.git] / apt-pkg / packagemanager.cc
index d5afceb6dc6a7824252e9f096d822755040ea8a8..a61c5f7a9c1f3f7ab90615302fb5213bf5953116 100644 (file)
@@ -1045,6 +1045,8 @@ pkgPackageManager::OrderResult pkgPackageManager::OrderInstall()
         flags |= EIPP::Request::NO_IMMEDIATE_CONFIGURATION;
       else if (_config->FindB("APT::Immediate-Configure-All", false))
         flags |= EIPP::Request::IMMEDIATE_CONFIGURATION_ALL;
+      else if (_config->FindB("APT::Force-LoopBreak", false))
+        flags |= EIPP::Request::ALLOW_TEMPORARY_REMOVE_OF_ESSENTIALS;
 
       if (EIPP::OrderInstall(planer.c_str(), this, flags, nullptr))
         return Completed;