Changed files:
file-fetcher.pl -> 1.45
$no_url_dir = "./upload";
$df_server = "distfiles.pld-linux.org";
$df_scp = "plddist\@ep09.pld-linux.org:ftp";
+$user_agent = "PLD/distfiles"
@md5 = ();
@url = ();
my $all_out = "";
my $bn = basename($url);
my $local = "$tmp_dir/$md5/$bn";
- my $cmd = "wget -nv --no-check-certificate -O $local \"$url\"";
- my $cmd2 = "wget -nv --no-check-certificate --passive-ftp -O $local \"$url\"";
+ my $cmd = "wget -nv --no-check-certificate --user-agent=$user_agent -O $local \"$url\"";
+ my $cmd2 = "wget -nv --no-check-certificate --user-agent=$user_agent --passive-ftp -O $local \"$url\"";
push @files, $bn;