Просмотр исходного кода

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 лет назад: 10
Родитель
Сommit
60a0cb424e
1 измененных файлов с 1 добавлено и 0 удалено
  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;
 	 }