Просмотр исходного кода

* Make APT::Get::Show-Upgraded (aka apt-get -u) default...
Author: mdz
Date: 2003-08-22 02:46:09 GMT
* Make APT::Get::Show-Upgraded (aka apt-get -u) default to true.

Arch Librarian лет назад: 22
Родитель
Сommit
906fbf8886
2 измененных файлов с 3 добавлено и 2 удалено
  1. 2 2
      cmdline/apt-get.cc
  2. 1 0
      debian/changelog

+ 2 - 2
cmdline/apt-get.cc

@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
 // Description								/*{{{*/
-// $Id: apt-get.cc,v 1.139 2003/08/22 01:51:01 mdz Exp $
+// $Id: apt-get.cc,v 1.140 2003/08/22 02:46:09 mdz Exp $
 /* ######################################################################
 /* ######################################################################
    
    
    apt-get - Cover for dpkg
    apt-get - Cover for dpkg
@@ -693,7 +693,7 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true,
    if (ShwKept == true)
    if (ShwKept == true)
       ShowKept(c1out,Cache);
       ShowKept(c1out,Cache);
    Fail |= !ShowHold(c1out,Cache);
    Fail |= !ShowHold(c1out,Cache);
-   if (_config->FindB("APT::Get::Show-Upgraded",false) == true)
+   if (_config->FindB("APT::Get::Show-Upgraded",true) == true)
       ShowUpgraded(c1out,Cache);
       ShowUpgraded(c1out,Cache);
    Fail |= !ShowDowngraded(c1out,Cache);
    Fail |= !ShowDowngraded(c1out,Cache);
    if (_config->FindB("APT::Get::Download-Only",false) == false)
    if (_config->FindB("APT::Get::Download-Only",false) == false)

+ 1 - 0
debian/changelog

@@ -20,6 +20,7 @@ apt (0.5.10) unstable; urgency=low
   * Change upgraded/newly installed/not fully installed or removed
   * Change upgraded/newly installed/not fully installed or removed
     messages to be consistent and somewhat shorter (some translations
     messages to be consistent and somewhat shorter (some translations
     exceeded 80 characters even in the simplest case)
     exceeded 80 characters even in the simplest case)
+  * Make APT::Get::Show-Upgraded (aka apt-get -u) default to true.
 
 
  -- 
  --