From 36da8cdbfaa19534da4fef7ac6010045ab958875 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 16 Feb 2016 07:43:03 +0100 Subject: mirrors: drop gymkl.ch and temp. disable layerjet.com --- check.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'check.php') diff --git a/check.php b/check.php index 676a1820..90692acf 100644 --- a/check.php +++ b/check.php @@ -67,10 +67,11 @@ $mirrors = array( 'http://fr2.rpmfind.net/linux/remi/', 'http://mirror.awanti.com/remi/', 'http://mirrors.netix.net/remi/', - #'http://mirror.h1host.ru/remi/', + 'http://mirror.h1host.ru/remi/', 'http://remi.mirrors.cu.be/', 'http://mirror.innosol.asia/remi/', 'http://mirror.neolabs.kz/remi/', + 'http://mirror.lablus.com/remi/', ); $deprecated = array( 'http://remi.mirror.net.in/', @@ -83,7 +84,7 @@ $deprecated = array( 'http://mirror.pw/remi/', ); function getRepoTime($uri) { - $xml = simplexml_load_file($uri.'/repodata/repomd.xml'); + $xml = @simplexml_load_file($uri.'/repodata/repomd.xml'); if ($xml && $xml->revision) { return intval($xml->revision); } @@ -158,7 +159,7 @@ if ($ref) { } if ($cli) { while (count($pids)) { - //printf("Wait %d\r", count($pids)); + printf("Wait %d\r", count($pids)); $pid = pcntl_wait($status); if ($pid<0) { die("Cound not wait\n"); -- cgit