summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-05-05 11:03:16 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2008-05-05 11:03:16 +0200
commit549da1a850f0fd50e0a55415452ecaa735d49451 (patch)
tree312bc5525fc98d2c25780e3479b7223044596388 /cmdline
parent1171258afb052c3ddcb4e5dc3f19b4ec1b29e4b9 (diff)
parent8f6aa8efa522c90959fb827a8618f02f41e0a2cd (diff)
* Mark a message from dselect backend as translatable
Thanks to Frédéric Bothamy for the patch Closes: #322470 * Simplified Chinese updated. Closes: #473360 * Catalan fixes. Closes: #387141 * Typo fix in Greek translation. Closes: #479122 * French updated. * Thai updated. Closes: #479313 * Italian updated. Closes: #479326 * Polish updated. Closes: #479342 * Bulgarian updated. Closes: #479379 * Finnish updated. Closes: #479403 * Korean updated. Closes: #479426 * Basque updated. Closes: #479452 * Add missing build-depends back from build-depends-indep field. Closes: #478231 * Make cron script quiet if cache is locked. Thanks to Ted Percival <ted@midg3t.net> for the patch. Closes: #459344 * Add timeout support for https. Thanks to Andrew Martens <andrew.martens@strangeloopnetworks.com> for the patch. * Add support for --no-download on apt-get update. Closes: #478517 - Vietnamese updated. Closes: #479008 - Enable more complete debugging information when Debug::pkgAutoRemove is set. * debian/rules: - Add missing Build-Depends-Indep on xsltproc, docbook-xsl, and xmlto.
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 92a263e50..104baba8a 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1374,8 +1374,9 @@ bool DoUpdate(CommandLine &CmdL)
// do the work
CacheFile Cache;
- bool res = ListUpdate(Stat, List);
-
+ if (_config->FindB("APT::Get::Download",true) == true)
+ ListUpdate(Stat, List);
+
// Rebuild the cache.
if (Cache.BuildCaches() == false)
return false;