From: David Kalnischkies Date: Sat, 18 Jun 2016 07:59:08 +0000 (+0200) Subject: source: if download is skipped, don't try to unpack X-Git-Tag: 1.3_exp3~5 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/60a0cb424e91acebc2bba0f9add220b474e432e6?ds=inline 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. --- 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; }