Procházet zdrojové kódy

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 před 10 roky
rodič
revize
60a0cb424e
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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;
 	 }