X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/82e369c4b93b5b81db7988ab377a3c5bd388268e..8e0002ac420707b94a8a43dfedea7fc182dd5851:/apt-pkg/upgrade.cc diff --git a/apt-pkg/upgrade.cc b/apt-pkg/upgrade.cc index 84c781c61..7926845c2 100644 --- a/apt-pkg/upgrade.cc +++ b/apt-pkg/upgrade.cc @@ -1,24 +1,17 @@ - // Include Files /*{{{*/ #include #include -#include -#include #include -#include -#include -#include #include -#include -#include +#include #include +#include +#include +#include +#include -#include -#include -#include -#include -#include +#include #include /*}}}*/ @@ -225,7 +218,7 @@ bool pkgMinimizeUpgrade(pkgDepCache &Cache) Cache.MarkInstall(I, false, 0, false); else { - // If keep didnt actually do anything then there was no change.. + // If keep didn't actually do anything then there was no change.. if (Cache[I].Upgrade() == false) Change = true; } @@ -251,7 +244,7 @@ bool APT::Upgrade::Upgrade(pkgDepCache &Cache, int mode) { return pkgAllUpgradeWithNewPackages(Cache); } - else if ((mode & ~(FORBID_REMOVE_PACKAGES|FORBID_NEW_INSTALL_PACKAGES)) == 0) + else if ((mode & ~(FORBID_REMOVE_PACKAGES|FORBID_INSTALL_NEW_PACKAGES)) == 0) { return pkgAllUpgradeNoNewPackages(Cache); }