diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-06-18 09:59:08 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-06-22 14:16:29 +0200 |
commit | 6fabf3723c40b2b1ad47e2e003f934f81562da67 (patch) | |
tree | 09a33a90d1f1d884ce11c0a6d8b33ef639c1fafe /apt-private | |
parent | 91524387211bdec794f280c78d4f44cb8deba35e (diff) |
source: if download is skipped, don't try to unpack
If apt decides it can't download a file it is relatively pointless to
try to tell dpkg-source to unpack it.
(cherry picked from commit 60a0cb424e91acebc2bba0f9add220b474e432e6)
Diffstat (limited to 'apt-private')
-rw-r--r-- | apt-private/private-source.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-private/private-source.cc b/apt-private/private-source.cc index dd52a8822..220f1bd5a 100644 --- a/apt-private/private-source.cc +++ b/apt-private/private-source.cc @@ -438,6 +438,7 @@ bool DoSource(CommandLine &CmdL) { ioprintf(c1out, "Skipping download of file '%s' as requested hashsum is not available for authentication\n", localFile.c_str()); + Dsc[J].Dsc.clear(); continue; } |