]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
Merge remote-tracking branch 'mvo/feature/upgrade-api' into debian/sid
[apt.git] / cmdline / apt-get.cc
index b150cf5418a1b84326f9268f29c8126822b1abb8..15373b0504791531123e3a480686a08051a9ab0a 100644 (file)
@@ -1573,7 +1573,7 @@ void SigWinch(int)
                                                                        /*}}}*/
 bool DoUpgrade(CommandLine &CmdL)                                      /*{{{*/
 {
-   if (_config->FindB("APT::Get::UpgradeAllowNew", false) == true)
+   if (_config->FindB("APT::Get::Upgrade-Allow-New", false) == true)
       return DoUpgradeWithAllowNewPackages(CmdL);
    else
       return DoUpgradeNoNewPackages(CmdL);