From 679efe16757beda042e0ecba2765737c2b326d22 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 2 May 2007 21:46:47 +0000 Subject: * renamed 'ossetup-max-retry-count' to 'ossetup-max-try-count' and started to use it in OSSetup::Engine. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@989 95ad53e4-c205-0410-b2fa-d234c58c8868 --- installer/OpenSLX/OSSetup/Engine.pm | 2 +- lib/OpenSLX/Basics.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm index fde5f2f9..a9376132 100644 --- a/installer/OpenSLX/OSSetup/Engine.pm +++ b/installer/OpenSLX/OSSetup/Engine.pm @@ -449,7 +449,7 @@ sub downloadBaseFiles my $pkgSubdir = $self->{'distro-info'}->{'package-subdir'}; my @URLs = @{$self->{'baseURLs'}}; - my $maxTryCount = 5; # TODO: make this configurable! + my $maxTryCount = $openslxConfig{'ossetup-max-try-count'}; my @foundFiles; foreach my $fileVariantStr (@$files) { diff --git a/lib/OpenSLX/Basics.pm b/lib/OpenSLX/Basics.pm index f1c39e05..ef37e79a 100644 --- a/lib/OpenSLX/Basics.pm +++ b/lib/OpenSLX/Basics.pm @@ -68,7 +68,7 @@ my %translations; 'system-default-nicmods' => 'forcedeth e1000 e100 tg3 via-rhine r8169 pcnet32', 'system-default-fsmods' => '', - 'ossetup-max-retry-count' => '5', + 'ossetup-max-try-count' => '5', ); chomp($openslxConfig{'locale-charmap'}); $openslxConfig{'bin-path'} -- cgit v1.2.3-55-g7522