mirror of
https://github.com/BioArchLinux/Rosa.git
synced 2025-03-10 12:02:43 +00:00
fix: depends may be serveral
This commit is contained in:
parent
6f21f3a300
commit
d19f7e6d82
1 changed files with 0 additions and 3 deletions
3
rosa.lua
3
rosa.lua
|
@ -94,17 +94,14 @@ local function get_content(pkgdir)
|
|||
local desc_res = ""
|
||||
-- read depends --
|
||||
local desc_res = get_string("%DEPENDS%", desc_tmp)
|
||||
desc_res = desc_res:gsub("\n", "")
|
||||
table.insert(depends_ct, desc_res)
|
||||
local desc_res = ""
|
||||
-- read optdepends --
|
||||
local desc_res = get_string("%OPTDEPENDS%", desc_tmp)
|
||||
desc_res = desc_res:gsub("\n", "")
|
||||
table.insert(optdepends_ct, desc_res)
|
||||
local desc_res = ""
|
||||
-- read makedepends --
|
||||
local desc_res = get_string("%MAKEDEPENDS%", desc_tmp)
|
||||
desc_res = desc_res:gsub("\n", "")
|
||||
table.insert(makedepends_ct, desc_res)
|
||||
local desc_res = ""
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue