]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/upgrade.cc
rename FORBID_NEW_INSTALL_PACKAGES to FORBID_INSTALL_NEW_PACKAGES
[apt.git] / apt-pkg / upgrade.cc
index 84c781c618120d14d798960f5d78ce3d3a2fafa9..f06f6d40d60cb6b76475ffe6fedec9d42a449f7f 100644 (file)
@@ -251,7 +251,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);
    }