diff options
author | Oliver Tappe | 2007-05-01 23:13:28 +0200 |
---|---|---|
committer | Oliver Tappe | 2007-05-01 23:13:28 +0200 |
commit | ce00ea1e3f1e3fb1f342e3e600fa114b7bb07250 (patch) | |
tree | be6fef69a3a043952b6396108f9de1aecf428b12 /installer | |
parent | Replace dhpc-type by dhcp-export-type. Plus some indention for the (diff) | |
download | core-ce00ea1e3f1e3fb1f342e3e600fa114b7bb07250.tar.gz core-ce00ea1e3f1e3fb1f342e3e600fa114b7bb07250.tar.xz core-ce00ea1e3f1e3fb1f342e3e600fa114b7bb07250.zip |
* use continuation-flag for FTP-URLs.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@982 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer')
-rw-r--r-- | installer/OpenSLX/OSSetup/Engine.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm index 4ba362b4..584e6f65 100644 --- a/installer/OpenSLX/OSSetup/Engine.pm +++ b/installer/OpenSLX/OSSetup/Engine.pm @@ -445,9 +445,12 @@ sub downloadBaseFiles try_next_url: my $url = $URLs[$self->{'baseURL-index'}]; $url .= "/$pkgSubdir" if length($pkgSubdir); + my @contFlags = (); + push @contFlags, '-c' if ($url =~ m[^ftp]); + # continuing is only supported with FTP, but not with HTTP foreach my $file (split '\s+', $fileVariantStr) { vlog 2, "fetching <$file>..."; - if (slxsystem("wget", "$url/$file") == 0) { + if (slxsystem("wget", @contFlags, "$url/$file") == 0) { $foundFile = basename($file); last; } |