diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-23 22:37:43 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-23 22:38:24 +0200 |
commit | 89220b51a5a21a3b2f3bb5b4c9c102d5600f1528 (patch) | |
tree | 1ae67108b09883dbc7e8ff1119fc36edb7e06238 /_scripts | |
parent | 50cb0d32f0abaf8263de5d18588a6e82f239df1b (diff) | |
download | alpine-mksite-89220b51a5a21a3b2f3bb5b4c9c102d5600f1528.tar.bz2 alpine-mksite-89220b51a5a21a3b2f3bb5b4c9c102d5600f1528.tar.xz |
downloads: list all available downloads
Diffstat (limited to '_scripts')
-rw-r--r-- | _scripts/generate_releases.lua | 3 |
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 |