summaryrefslogtreecommitdiffstats
path: root/_scripts
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-23 22:37:43 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-23 22:38:24 +0200
commit89220b51a5a21a3b2f3bb5b4c9c102d5600f1528 (patch)
tree1ae67108b09883dbc7e8ff1119fc36edb7e06238 /_scripts
parent50cb0d32f0abaf8263de5d18588a6e82f239df1b (diff)
downloadalpine-mksite-89220b51a5a21a3b2f3bb5b4c9c102d5600f1528.tar.bz2
alpine-mksite-89220b51a5a21a3b2f3bb5b4c9c102d5600f1528.tar.xz
downloads: list all available downloads
Diffstat (limited to '_scripts')
-rw-r--r--_scripts/generate_releases.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/_scripts/generate_releases.lua b/_scripts/generate_releases.lua
index 4ab8690..d6854a1 100644
--- a/_scripts/generate_releases.lua
+++ b/_scripts/generate_releases.lua
@@ -11,9 +11,10 @@ for i = 1,#arg do
v.size_mb=math.floor(v.size/(1024*1024))
local flavor = t[v.flavor]
if flavor == nil then
- flavor = {}
+ flavor = { archs = {}}
end
flavor[v.arch] = v
+ table.insert(flavor.archs, v)
t[v.flavor] = flavor
end
end