diff options
author | Olivier Thauvin <nanardon@mageia.org> | 2011-03-19 17:20:52 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mageia.org> | 2011-03-19 17:20:52 +0000 |
commit | ff7bb71d749f6ca0e2f68cfb024fea73addc1bad (patch) | |
tree | bd0c2de768e520d7afa12e49ad1c4b85aa8c832a /lib/MGA | |
parent | cb5e936e79850e29d9bb9cc670c059dbfe2c8c5d (diff) | |
download | mgamirrors-ff7bb71d749f6ca0e2f68cfb024fea73addc1bad.tar mgamirrors-ff7bb71d749f6ca0e2f68cfb024fea73addc1bad.tar.gz mgamirrors-ff7bb71d749f6ca0e2f68cfb024fea73addc1bad.tar.bz2 mgamirrors-ff7bb71d749f6ca0e2f68cfb024fea73addc1bad.tar.xz mgamirrors-ff7bb71d749f6ca0e2f68cfb024fea73addc1bad.zip |
- use wget in quiet mode
Diffstat (limited to 'lib/MGA')
-rw-r--r-- | lib/MGA/Mirrors/DB.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MGA/Mirrors/DB.pm b/lib/MGA/Mirrors/DB.pm index f8d1ac2..bbc638d 100644 --- a/lib/MGA/Mirrors/DB.pm +++ b/lib/MGA/Mirrors/DB.pm @@ -279,7 +279,7 @@ sub _check_url { my ($fh, $filename) = tempfile(); close($fh); my $cmd = - $furi->scheme =~ /^http|ftp$/ ? "wget --no-check-certificate -nv -t 1 -T 4 -O $filename " . $furi->as_string : + $furi->scheme =~ /^http|ftp$/ ? "wget -q --no-check-certificate -nv -t 1 -T 4 -O $filename " . $furi->as_string : $furi->scheme eq 'rsync' ? "rsync --timeout 4 -q " . $furi->as_string . " $filename" : ''; my $ok = (system($cmd) == 0); unlink($filename); |