add package filtering to instgen
This commit is contained in:
parent
fa612224d6
commit
78f637d8e9
@ -69,6 +69,12 @@ wget(src,pcfgname)
|
||||
local programs = parsecfg(pcfgname)
|
||||
os.execute("rm '"..pcfgname.."'")
|
||||
|
||||
if tArgs[3] then
|
||||
for k,v in pairs(programs) do
|
||||
if not filter[k] then programs[k] = nil end
|
||||
end
|
||||
end
|
||||
|
||||
local dlfiles = {}
|
||||
for k,v in pairs(programs) do
|
||||
for l,m in pairs(v.files or {}) do
|
||||
|
Loading…
Reference in New Issue
Block a user