ExtensionsLst.pm (6eeb2f28) ExtensionsLst.pm (274b8a62)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 404 unchanged lines hidden (view full) ---

413 # First check which (if any) extensions have already been downloaded.
414 for my $entry (@urls)
415 {
416 my ($protocol, $name, $URL, $md5sum) = @{$entry};
417
418 # We can not check the existence of file URLs because they point to extensions that
419 # have yet to be built.
420
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 404 unchanged lines hidden (view full) ---

413 # First check which (if any) extensions have already been downloaded.
414 for my $entry (@urls)
415 {
416 my ($protocol, $name, $URL, $md5sum) = @{$entry};
417
418 # We can not check the existence of file URLs because they point to extensions that
419 # have yet to be built.
420
421 next if $protocol ne "http";
421 next if $protocol !~ /(http|https)/;
422 my $candidate = File::Spec->catfile($download_path, $name);
423 if ( ! -f $candidate)
424 {
425 push @missing, $entry;
426 }
427 elsif (defined $md5sum)
428 {
429 # Check that the MD5 sum is still correct.

--- 142 unchanged lines hidden ---
422 my $candidate = File::Spec->catfile($download_path, $name);
423 if ( ! -f $candidate)
424 {
425 push @missing, $entry;
426 }
427 elsif (defined $md5sum)
428 {
429 # Check that the MD5 sum is still correct.

--- 142 unchanged lines hidden ---