From 4799c463e659f420c874584c85cf15fd56ea1724 Mon Sep 17 00:00:00 2001 From: filip Date: Sat, 13 Mar 2021 01:13:48 +0100 Subject: new mga8 doc test file --- lib/Downloads.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Downloads.php') diff --git a/lib/Downloads.php b/lib/Downloads.php index 9fea1cea0..9ebeaf1c5 100644 --- a/lib/Downloads.php +++ b/lib/Downloads.php @@ -215,7 +215,7 @@ class Downloads } if ($documentation) { - $test_file = $item['url'].'/doc/mga7/date.txt'; + $test_file = $item['url'].'/doc/mga8/date.txt'; } else if ($mirrorlist) { $test_file = $item['url'].'/distrib/8/x86_64/media/core/updates/repodata/repomd.xml'; } else { @@ -223,10 +223,10 @@ class Downloads } if (false === @file_get_contents($test_file)) { $num_dn++; - echo "Down ($num_dn) $test_file \n"; + echo "Down $num_dn (up: $num_up) $test_file \n"; } else { $num_up++; - echo "Up ($num_up) $test_file \n"; + echo "Up $num_up (down: $num_dn) $test_file \n"; // $mirrors[$m['country']][] = $item; $mirrors['_C:' . $m['continent']][] = $item; } -- cgit v1.2.1