diff options
-rw-r--r-- | pm.lua | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -13,7 +13,7 @@ local function manifest(pkgname) local files={} local files_present=false local deps={} - for line in res:gmatch"[^\n]+" do + for line in res.readAll():gmatch"[^\n]+" do local op,argstart = line:match "^(%w+)%s+()" if op then local argstr = line:sub(argstart) @@ -45,4 +45,5 @@ local function dl(filename) file.close() end -dl(arg[1]) +return manifest +--dl(arg[1]) |