]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
add "apt full-upgrade" and tweak "apt upgrade"
[apt.git] / cmdline / apt-get.cc
index 8a0772ce26b716b6a05834ff48b3c5b263892110..da7d28a1e9ba8044b1760ae32701b69d43ff7148 100644 (file)
@@ -1677,14 +1677,6 @@ void SigWinch(int)
    if (ioctl(1, TIOCGWINSZ, &ws) != -1 && ws.ws_col >= 5)
       ScreenWidth = ws.ws_col - 1;
 #endif
-}
-                                                                       /*}}}*/
-bool DoUpgrade(CommandLine &CmdL)                                      /*{{{*/
-{
-   if (_config->FindB("APT::Get::Upgrade-Allow-New", false) == true)
-      return DoUpgradeWithAllowNewPackages(CmdL);
-   else
-      return DoUpgradeNoNewPackages(CmdL);
 }
                                                                        /*}}}*/
 int main(int argc,const char *argv[])                                  /*{{{*/