aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2019-06-30 01:27:06 +0200
committerfilip <filip.komar@gmail.com>2019-06-30 01:27:06 +0200
commitc1cdbef50eb1c4047b732113e533cf74bc3df446 (patch)
tree83ab2ae8746804c3d7a3f21ae8e1716563c35923
parentfc31aaaeacade483762d55fb78b35e3599fe8fd8 (diff)
downloadwww-c1cdbef50eb1c4047b732113e533cf74bc3df446.tar
www-c1cdbef50eb1c4047b732113e533cf74bc3df446.tar.gz
www-c1cdbef50eb1c4047b732113e533cf74bc3df446.tar.bz2
www-c1cdbef50eb1c4047b732113e533cf74bc3df446.tar.xz
www-c1cdbef50eb1c4047b732113e533cf74bc3df446.zip
switch cache regenerator to mga7
-rw-r--r--lib/Downloads.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Downloads.php b/lib/Downloads.php
index c63f45960..42f706997 100644
--- a/lib/Downloads.php
+++ b/lib/Downloads.php
@@ -175,9 +175,9 @@ class Downloads
if ($documentation) {
$test_file = $item['url'].'/doc/mga6/date.txt';
} else if ($mirrorlist) {
- $test_file = $item['url'].'/distrib/6.1/x86_64/media/core/updates/repodata/repomd.xml';
+ $test_file = $item['url'].'/distrib/7/x86_64/media/core/updates/repodata/repomd.xml';
} else {
- $test_file = $item['url'].'/iso/cauldron/torrents/Mageia-7-rc-x86_64.torrent';
+ $test_file = $item['url'].'/iso/7/torrents/Mageia-7-x86_64.torrent';
}
if (false === @file_get_contents($test_file)) {
$num_dn++;