Ein paar Schoenheitsfehler korrigiert.

Kernel Update...
Das Pakfire Timeout hoeher gesetzt.
CenterIm-Paket erstellt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@951 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-10-07 19:12:03 +00:00
parent 09b58b25de
commit 3d3b68c58f
6 changed files with 19 additions and 10 deletions

View File

@@ -160,7 +160,7 @@ sub fetchfile {
my $ua = LWP::UserAgent->new;
$ua->agent("Pakfire/$Conf::version");
$ua->timeout(5);
$ua->timeout(20);
my %proxysettings=();
&General::readhash("${General::swroot}/proxy/advanced/settings", \%proxysettings);
@@ -281,11 +281,11 @@ sub selectmirror {
### Check if there is a current server list and read it.
# If there is no list try to get one.
my $count = 0;
while (!(open(FILE, "<$Conf::dbdir/lists/server-list.db")) && ($count lt 20)) {
while (!(open(FILE, "<$Conf::dbdir/lists/server-list.db")) && ($count lt 5)) {
$count++;
getmirrors("noforce");
}
if ($count == 20) {
if ($count == 5) {
message("MIRROR ERROR: Could not find or download a server list");
exit 1;
}