]> git.pld-linux.org Git - projects/distfiles.git/blobdiff - file-fetcher.pl
Check certificates when fetching files.
[projects/distfiles.git] / file-fetcher.pl
index 837feb244c66f2194a56e3cfd3baf1bbaa4ec3b7..4f9ee3207ff28579244eb89789e316a6f0eef155 100755 (executable)
@@ -241,9 +241,9 @@ sub fetch_file($$)
   my $all_out = "";
   my $bn = basename($url);
   my $local = "$tmp_dir/$md5/$bn";
-  my @cmd = ("wget", "-nv", "--no-iri", "--no-check-certificate", "--user-agent=$user_agent", "-O", $local, $url);
+  my @cmd = ("wget", "-nv", "--no-iri", "--user-agent=$user_agent", "-O", $local, $url);
   my $cmd_joined = join(' ', @cmd);
-  my @cmd2 = ("wget",  "-nv", "--no-iri", "--no-check-certificate", "--user-agent=$user_agent", "--passive-ftp", "-O", $local, $url);
+  my @cmd2 = ("wget",  "-nv", "--no-iri", "--user-agent=$user_agent", "--passive-ftp", "-O", $local, $url);
   my $cmd2_joined = join(' ', @cmd2);
 
   syslog("info","fetch_file($md5,$url)");
This page took 0.11718 seconds and 4 git commands to generate.