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 24, 2017
1 parent 8a22124 commit b906a41
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://# ) if ( $_ =~ m#^ftp://# )
{ {
$output .= "wget -c --passive-ftp -P --no-check-certificate \$(archivedir) " . $_ . "/" . $file . " || \\\n\t"; $output .= "wget -c --passive-ftp --no-check-certificate -P \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
} }
elsif ( $_ =~ m#^(http|https)://# ) elsif ( $_ =~ m#^(http|https)://# )
{ {
$output .= "wget -t 2 -T 10 -c -P --no-check-certificate \$(archivedir) " . $_ . "/" . $file . " || \\\n\t"; $output .= "wget -t 2 -T 10 -c --no-check-certificate -P \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
} }
} }
$output .= "wget -c -P --no-check-certificate \$(archivedir) http://www.i-have-a-dreambox.com/Archive/" . $file . " )"; $output .= "wget -c --no-check-certificate -P \$(archivedir) http://www.i-have-a-dreambox.com/Archive/" . $file . " )";
$output .= "\n\t\@touch \$\@"; $output .= "\n\t\@touch \$\@";
$output .= "\n\n"; $output .= "\n\n";
} }
Expand Down

0 comments on commit b906a41

Please sign in to comment.