summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-06-18 09:59:08 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-06-22 14:05:01 +0200
commit60a0cb424e91acebc2bba0f9add220b474e432e6 (patch)
tree4adb58aec77392840fd59bec436dc20cc775c283
parent952ee63b0af14a534c0aca00c11d1a99be6b22b2 (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.
-rw-r--r--apt-private/private-source.cc1
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;
}