]> git.saurik.com Git - apt.git/commitdiff
source: if download is skipped, don't try to unpack
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 18 Jun 2016 07:59:08 +0000 (09:59 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 22 Jun 2016 12:05:01 +0000 (14:05 +0200)
If apt decides it can't download a file it is relatively pointless to
try to tell dpkg-source to unpack it.

apt-private/private-source.cc

index dd52a8822312ce522483beb2df2831b6b5ed0b40..220f1bd5a2f04471a9b3aec2f915bc18c2e0822a 100644 (file)
@@ -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());
         {
            ioprintf(c1out, "Skipping download of file '%s' as requested hashsum is not available for authentication\n",
                  localFile.c_str());
+           Dsc[J].Dsc.clear();
            continue;
         }
 
            continue;
         }