瀏覽代碼

* cmdline/apt-get.cc:
- fix task installation (thanks to Colin Watson)

Michael Vogt 18 年之前
父節點
當前提交
f6c0d4ae82
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 1 1
      cmdline/apt-get.cc
  2. 2 0
      debian/changelog

+ 1 - 1
cmdline/apt-get.cc

@@ -1506,7 +1506,7 @@ bool TryInstallTask(pkgDepCache &Cache, pkgProblemResolver &Fix,
       buf[end-start] = 0x0;
       if (regexec(&Pattern,buf,0,0,0) != 0)
 	 continue;
-      res &= TryToInstall(Pkg,Cache,Fix,Remove,true,ExpectedInst);
+      res &= TryToInstall(Pkg,Cache,Fix,Remove,false,ExpectedInst);
       found = true;
    }
    

+ 2 - 0
debian/changelog

@@ -2,6 +2,8 @@ apt (0.7.9ubuntu12) hardy; urgency=low
 
   * debian/apt.cron.daily:
     - use admin user proxy settings
+  * cmdline/apt-get.cc:
+    - fix task installation (thanks to Colin Watson)
 
  --