X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=gen_website;h=7c26751dc50adae05af3e74ad1b3700e5533aa9f;hb=HEAD;hp=12a4e1f7cf8eb1145d20e22295a0cc4fbe09da08;hpb=80fe4b818a8e8aaa03d932f35e6d3407166d5794;p=grml.org.git diff --git a/gen_website b/gen_website index 12a4e1f..7c26751 100755 --- a/gen_website +++ b/gen_website @@ -52,7 +52,7 @@ while (($have_mirmon) && (my $line = <$fh>)) { my $value = $2; $data->{$key} = $value; } elsif ($line eq '') { - my $url = sprintf ("http://%s%s", $data->{'site'}, $data->{'grml-http'}); + my $url = sprintf ("https://%s%s", $data->{'site'}, $data->{'grml-http'}); next if get_last_state($url) eq 'f'; $mirrors->{ $data->{'country'} }->{ $data->{'site'} } = $data; $data = undef; @@ -62,7 +62,7 @@ while (($have_mirmon) && (my $line = <$fh>)) { } if ($data) { - my $url = sprintf ("http://%s%s", $data->{'site'}, $data->{'grml-http'}); + my $url = sprintf ("https://%s%s", $data->{'site'}, $data->{'grml-http'}); $mirrors->{ $data->{'country'} }->{ $data->{'site'} } = $data if get_last_state($url) eq 'f'; }