X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=gen_website;fp=gen_website;h=7c26751dc50adae05af3e74ad1b3700e5533aa9f;hb=62e20d7348ab7fbb980f765450bff595edde0ddd;hp=12a4e1f7cf8eb1145d20e22295a0cc4fbe09da08;hpb=d9011e1c8ef2ce4952aba039707ebf1d22f73e39;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'; }