aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2013-04-29 22:59:21 +0000
committerRomain d'Alverny <rda@mageia.org>2013-04-29 22:59:21 +0000
commitadf4504fce4ed36a534dd22d3bfe2e6638ddd66a (patch)
tree35e907f192830580abecf9c739d47d2b90fd64b6 /tools
parente92e35166e025408a12ffeca733529570f2e11ff (diff)
downloadwww-adf4504fce4ed36a534dd22d3bfe2e6638ddd66a.tar
www-adf4504fce4ed36a534dd22d3bfe2e6638ddd66a.tar.gz
www-adf4504fce4ed36a534dd22d3bfe2e6638ddd66a.tar.bz2
www-adf4504fce4ed36a534dd22d3bfe2e6638ddd66a.tar.xz
www-adf4504fce4ed36a534dd22d3bfe2e6638ddd66a.zip
manual script to force update list of mirrors
Diffstat (limited to 'tools')
-rw-r--r--tools/update-mirrors-list.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/update-mirrors-list.php b/tools/update-mirrors-list.php
new file mode 100644
index 000000000..d9be85226
--- /dev/null
+++ b/tools/update-mirrors-list.php
@@ -0,0 +1,8 @@
+<?php
+/**
+ * Run this to update lib/cached.list.php mirrors list from mirrors.mageia.org/api
+ *
+*/
+
+require __DIR__ . '/../lib/Downloads.php';
+Downloads::get_all_mirrors(false); \ No newline at end of file