summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorOliver Tappe2007-05-01 23:13:28 +0200
committerOliver Tappe2007-05-01 23:13:28 +0200
commitce00ea1e3f1e3fb1f342e3e600fa114b7bb07250 (patch)
treebe6fef69a3a043952b6396108f9de1aecf428b12 /installer
parentReplace dhpc-type by dhcp-export-type. Plus some indention for the (diff)
downloadcore-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.pm5
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;
}