fix: license and arch would be multi

This commit is contained in:
Kuoi 2023-06-06 17:46:57 +08:00 committed by GitHub
parent 34c6ca418c
commit 47f35c5a45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,12 +74,10 @@ local function get_content(pkgdir)
local desc_res = ""
-- read license --
local desc_res = get_string("%LICENSE%", desc_tmp)
desc_res = desc_res:gsub("\n", "")
table.insert(license_ct, desc_res)
local desc_res = ""
-- read arch --
local desc_res = get_string("%ARCH%", desc_tmp)
desc_res = desc_res:gsub("\n", "")
table.insert(arch_ct, desc_res)
local desc_res = ""
-- read builddate --