summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2013-01-14 07:59:52 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2013-01-14 07:59:52 +0100
commit64680d3bf12db6599e93f950546e380e0bd5ddf4 (patch)
treeb2a09005541d931d7d787b05558d71c3371b31d2 /cmdline/apt-get.cc
parentcb6a2b3eaca4353d7f490fb360b98c08d64a2d8c (diff)
fix skipping of already downloaded files and add some FIXMEs
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 68e7f829c..a2a19cd11 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -2560,7 +2560,7 @@ bool DoSource(CommandLine &CmdL)
if(!I->Hash.empty() && FileExists(flNotDir(I->Path)))
{
HashString hash_string = HashString(I->Hash);
- if(hash_string.VerifyFile(I->Path))
+ if(hash_string.VerifyFile(flNotDir(I->Path)))
{
ioprintf(c1out,_("Skipping already downloaded file '%s'\n"),
flNotDir(I->Path).c_str());