aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2017-04-12 10:50:17 +0100
committerPascal Terjan <pterjan@mageia.org>2017-04-12 10:50:17 +0100
commit42c4dd62337069e0f2c636770e201e361d864a2c (patch)
treec72b6e6e8b76fee764b38428445ae49cd42a1900
parent47af65e1eada805da3364cc9980526b79e89cda2 (diff)
downloadpuppet-42c4dd62337069e0f2c636770e201e361d864a2c.tar
puppet-42c4dd62337069e0f2c636770e201e361d864a2c.tar.gz
puppet-42c4dd62337069e0f2c636770e201e361d864a2c.tar.bz2
puppet-42c4dd62337069e0f2c636770e201e361d864a2c.tar.xz
puppet-42c4dd62337069e0f2c636770e201e361d864a2c.zip
Also check armv7hl
-rwxr-xr-xmodules/mga-mirrors/files/check_mirrors_status4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mga-mirrors/files/check_mirrors_status b/modules/mga-mirrors/files/check_mirrors_status
index 06a17c2a..e6406c17 100755
--- a/modules/mga-mirrors/files/check_mirrors_status
+++ b/modules/mga-mirrors/files/check_mirrors_status
@@ -11,7 +11,7 @@ def get_dates(base, distros, archs, optional=true)
distros.each{|d|
r[d] = {}
archs.each{|a|
- next if d == '5' and a == 'armv5tl'
+ next if d == '5' and a =~ /arm/
begin
r[d][a] = get_date(base, d, a)
rescue Timeout::Error, ArgumentError, NoMethodError, Errno::EHOSTUNREACH => e
@@ -155,7 +155,7 @@ end
# Defaults
ref = 'http://repository.mageia.org/'
distros = ['5', 'cauldron']
-archs = ['i586', 'x86_64', 'armv5tl']
+archs = ['i586', 'x86_64', 'armv5tl', 'armv7hl']
parallel = 8
OptionParser.new {|opts|