update genlist.lua

pull/18/head
ruki 6 years ago
parent 5af8900a45
commit 54fbd46ef9
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 4
      scripts/genlist.lua

@ -21,7 +21,7 @@ function main(...)
-- generate markdown table
local packages_md = "## All Packages\n\n"
for plat, _ in pairs(packages) do
packages_md = packages_md .. "|" .. plat .. "(arch)"
packages_md = packages_md .. "|" .. plat
end
packages_md = packages_md .. "|\n"
for plat, _ in pairs(packages) do
@ -34,7 +34,7 @@ function main(...)
local info = ""
if pkg then
if pkg.generic then
info = pkg.name .. "(*)"
info = pkg.name
else
info = pkg.name .. "(" .. table.concat(pkg.archs, ",") .. ")"
end

Loading…
Cancel
Save