Explorar o código

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.
David Kalnischkies %!s(int64=10) %!d(string=hai) anos
pai
achega
60a0cb424e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      apt-private/private-source.cc

+ 1 - 0
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;
 	 }