aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Downloads.php
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2023-08-26 19:34:37 +0200
committerManuel Hiebel <leuhmanu@mageia.org>2023-08-26 19:37:20 +0200
commitfbb529ea9bbcae8cf1d329313e6409330bcddc80 (patch)
tree0372608b37d4e1dfe6d50fd134a40b63da5936f1 /lib/Downloads.php
parenta937de3380d59e63dd3424a10570048299f115c9 (diff)
downloadwww-fbb529ea9bbcae8cf1d329313e6409330bcddc80.tar
www-fbb529ea9bbcae8cf1d329313e6409330bcddc80.tar.gz
www-fbb529ea9bbcae8cf1d329313e6409330bcddc80.tar.bz2
www-fbb529ea9bbcae8cf1d329313e6409330bcddc80.tar.xz
www-fbb529ea9bbcae8cf1d329313e6409330bcddc80.zip
Update mirror cache with Mageia 9 iso and last RPM (currently kernel.org out of sync)
Diffstat (limited to 'lib/Downloads.php')
-rw-r--r--lib/Downloads.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Downloads.php b/lib/Downloads.php
index 0f75304e2..69a0e38ad 100644
--- a/lib/Downloads.php
+++ b/lib/Downloads.php
@@ -239,10 +239,10 @@ class Downloads
if ($documentation) {
$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'; // when changing, please change $common_patern too
+ $test_file = $item['url'].'/distrib/9/x86_64/media/core/updates/repodata/repomd.xml'; // when changing, please change $common_patern too
+ $test_file = $item['url'].'/distrib/9/x86_64/media/core/release/meta-task-9-2.mga9.noarch.rpm'; // when changing, please change $common_patern too
} else {
$test_file = $item['url'].'/iso/9/torrents/Mageia-9-Live-Xfce-i586.torrent';
- $test_file = $item['url'].'/iso/cauldron/torrents/Mageia-9-beta2-Live-Xfce-i586.torrent';
}
if (false === @file_get_contents($test_file)) {
$num_dn++;