Skip to content

Commit

Permalink
Dont check https certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
David Cooke committed Oct 23, 2017
1 parent 2549d24 commit 8a22124
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cdk/rules-archive.pl
Expand Up @@ -21,14 +21,14 @@
{
if ( $_ =~ m#^ftp://# )
{
$output .= "wget -c --passive-ftp -P \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
$output .= "wget -c --passive-ftp -P --no-check-certificate \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
}
elsif ( $_ =~ m#^(http|https)://# )
{
$output .= "wget -t 2 -T 10 -c -P \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
$output .= "wget -t 2 -T 10 -c -P --no-check-certificate \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
}
}
$output .= "wget -c -P \$(archivedir) http://www.i-have-a-dreambox.com/Archive/" . $file . " )";
$output .= "wget -c -P --no-check-certificate \$(archivedir) http://www.i-have-a-dreambox.com/Archive/" . $file . " )";
$output .= "\n\t\@touch \$\@";
$output .= "\n\n";
}
Expand Down

0 comments on commit 8a22124

Please sign in to comment.