diff options
author | Michael Vogt <mvo@debian.org> | 2013-10-05 12:30:26 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-10-05 12:30:26 +0200 |
commit | 3f506f684c6199a9a2bc68365732a9c00dc551c1 (patch) | |
tree | 45b620ac66ea612069e88fb10b6dbdc9b5166ef7 /apt-pkg/upgrade.cc | |
parent | d428d131a29a08fa7c1d95b98b684fb2ebb554c0 (diff) | |
parent | be297c7ab3c16edcbdd6afc699c73a58e545b599 (diff) | |
download | apt-3f506f684c6199a9a2bc68365732a9c00dc551c1.tar.gz |
rename FORBID_NEW_INSTALL_PACKAGES to FORBID_INSTALL_NEW_PACKAGES
Diffstat (limited to 'apt-pkg/upgrade.cc')
-rw-r--r-- | apt-pkg/upgrade.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/upgrade.cc b/apt-pkg/upgrade.cc index 84c781c61..f06f6d40d 100644 --- a/apt-pkg/upgrade.cc +++ b/apt-pkg/upgrade.cc @@ -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); } |