projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
French translation update
[apt.git]
/
cmdline
/
apt-get.cc
diff --git
a/cmdline/apt-get.cc
b/cmdline/apt-get.cc
index 92a263e502c26914976d46c6975c7ffad0676394..104baba8a000d241b22dd90d717852635cfb41db 100644
(file)
--- 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;