]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-upgrade.cc
Merge remote-tracking branch 'upstream/debian/sid' into feature/upgrade-with-new
[apt.git] / apt-private / private-upgrade.cc
index 85b5a492a120b27f83b04b81d75e53cc3b4c0873..09085c2dba5074289a6e9b8a07053f4889d532b3 100644 (file)
@@ -23,6 +23,10 @@ bool DoUpgradeNoNewPackages(CommandLine &CmdL)
       ShowBroken(c1out,Cache,false);
       return _error->Error(_("Internal error, AllUpgrade broke stuff"));
    }
+
+   // parse additional cmdline pkg manipulation switches
+   if(!DoCacheManipulationFromCommandLine(CmdL, Cache))
+      return false;
    
    return InstallPackages(Cache,true);
 }
@@ -41,6 +45,10 @@ bool DoUpgradeWithAllowNewPackages(CommandLine &CmdL)
       ShowBroken(c1out,Cache,false);
       return _error->Error(_("Internal error, AllUpgrade broke stuff"));
    }
+
+   // parse additional cmdline pkg manipulation switches
+   if(!DoCacheManipulationFromCommandLine(CmdL, Cache))
+      return false;
    
    return InstallPackages(Cache,true);
 }