From 71e2318d6488b62602ff23e5fb4fd1547a6cbfa9 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Thu, 23 May 2013 15:08:01 +0000 Subject: buildsystem/media.cfg: don't add non-existend medias Don't add i586 medias on x86_64 in media.cfg, if the distro does not have i586 medias. --- modules/buildsystem/templates/media.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/buildsystem/templates/media.cfg b/modules/buildsystem/templates/media.cfg index bdd5d813..85c3851e 100644 --- a/modules/buildsystem/templates/media.cfg +++ b/modules/buildsystem/templates/media.cfg @@ -88,7 +88,7 @@ distro['medias'].keys.sort.each{|medianame| %> <%-# we add 32bit media if arch is x86_64 -%> <%- - if @arch == 'x86_64' + if @arch == 'x86_64' and distro['arch'].include?('i586') medianame32 = [ medianame, '32' ].join('') -%><%= media_out [ '../../i586/media', medianame, reponame ].join('/'), -- cgit v1.2.1