X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=html%2Fcgi-bin%2Fupdatexlrator.cgi;h=c94c34ec1e6e8f7b4e607513bf798b7d8d549967;hb=ea72700a3b5f53680b218e9261593806bdc5f7d4;hp=df77a86afdb2e690464d0b3d23b96821a7631bca;hpb=180fffd9eeba6aec2030dfee2e5e53793cca8dc1;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/html/cgi-bin/updatexlrator.cgi b/html/cgi-bin/updatexlrator.cgi index df77a86afd..c94c34ec1e 100644 --- a/html/cgi-bin/updatexlrator.cgi +++ b/html/cgi-bin/updatexlrator.cgi @@ -397,7 +397,7 @@ print < $Lang::tr{'updxlrtr passive mode'}: - $Lang::tr{'updxlrtr max disk usage'}: + $Lang::tr{'updxlrtr max disk usage'}: * % @@ -409,7 +409,7 @@ print < $Lang::tr{'updxlrtr low download priority'}: - $Lang::tr{'updxlrtr max download rate'}: * + $Lang::tr{'updxlrtr max download rate'}: @@ -517,7 +517,7 @@ END $id = 0; foreach $updatefile (@downloadfiles) { - $updatefile =~ s/.*://; + $updatefile =~ s/.*:download/download/; my $size_updatefile = 0; my $mtime = 0; if(-e "$repository/$updatefile") { @@ -971,7 +971,8 @@ foreach (@sources) { next if(/\.info$/); $updatefile = substr($_,rindex($_,"/")+1); - $updatefile .= ":download/$vendorid/$updatefile"; + $_ = $updatefile; tr/[A-Z]/[a-z]/; + $updatefile = "$_:separator:download/$vendorid/$updatefile"; $updatefile = " ".$updatefile; push(@repositoryfiles,$updatefile); } @@ -1002,7 +1003,7 @@ foreach (@sources) chomp($sourceurl); $updatefile = substr($sourceurl,rindex($sourceurl,'/')+1,length($sourceurl)); $_ = $updatefile; tr/[A-Z]/[a-z]/; - $updatefile = "$_:$vendorid/$uuid/$updatefile"; + $updatefile = "$_:separator:$vendorid/$uuid/$updatefile"; push(@repositoryfiles,$updatefile); } } @@ -1145,7 +1146,7 @@ END $id = 0; foreach $updatefile (@files) { - $updatefile =~ s/.*://; + $updatefile =~ s/.*:separator://; my $size_updatefile = 0; my $mtime = 0; if(-e "$repository/$updatefile") {