aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2018-10-05 22:53:50 +0200
committerfilip <filip.komar@gmail.com>2018-10-05 22:53:50 +0200
commit3b57118f3c3400180dfb0b7ab3cdf01458499714 (patch)
tree26b00bd58db9540f655f3be3e40ebff589189c1c
parent0ab097902c96f86ac3ea4a79d90509f6f8e4a047 (diff)
downloadwww-3b57118f3c3400180dfb0b7ab3cdf01458499714.tar
www-3b57118f3c3400180dfb0b7ab3cdf01458499714.tar.gz
www-3b57118f3c3400180dfb0b7ab3cdf01458499714.tar.bz2
www-3b57118f3c3400180dfb0b7ab3cdf01458499714.tar.xz
www-3b57118f3c3400180dfb0b7ab3cdf01458499714.zip
new cache update files for mga6.1
-rw-r--r--lib/Downloads.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Downloads.php b/lib/Downloads.php
index 84ac39607..61169f7bb 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/x86_64/media/core/updates/repodata/repomd.xml';
+ $test_file = $item['url'].'/distrib/6.1/x86_64/media/core/updates/repodata/repomd.xml';
} else {
- $test_file = $item['url'].'/iso/6/torrents/Mageia-6-x86_64-DVD.torrent';
+ $test_file = $item['url'].'/iso/6.1/torrents/Mageia-6.1-LiveDVD-GNOME-x86_64-DVD.torrent';
}
if (false === @file_get_contents($test_file)) {
$num_dn++;