aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-07-16 03:24:38 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-07-16 03:24:38 +0200
commita9312708f06ef8ab0ad91d82708effa0c61c5af0 (patch)
treefcbb6f03ce46e35ae070ec9dadd587e377d6e39e /_plugins
parent_includes/downloads/ppc.html: add new ppc stages (diff)
downloadwww-a9312708f06ef8ab0ad91d82708effa0c61c5af0.tar.gz
www-a9312708f06ef8ab0ad91d82708effa0c61c5af0.tar.bz2
www-a9312708f06ef8ab0ad91d82708effa0c61c5af0.zip
downloads: allow more than one "minimal" iso per arch
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to '_plugins')
-rw-r--r--_plugins/downloads.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/_plugins/downloads.rb b/_plugins/downloads.rb
index 4f88f4a..75dcafe 100644
--- a/_plugins/downloads.rb
+++ b/_plugins/downloads.rb
@@ -22,7 +22,7 @@ module Gentoo
if date
site.data['downloads'][arch]['iso'] ||= {}
- if $2.include? 'minimal'
+ if $2.include? ('install-'+arch+'-minimal')
site.data['downloads'][arch]['iso']['minimal'] = { 'date' => date, 'filename' => '%s/%s' % [$1, $2], 'size' => $3 }
else
subdir, filename, size = $1, $2, $3