diff options
author | ubq323 <ubq323@ubq323.website> | 2022-08-03 23:41:59 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-08-03 23:41:59 +0100 |
commit | 9d7302c75fdbb2f04b274fa63b912570226f7536 (patch) | |
tree | 621fb9000b8d027df23058934ea90faae01bbe03 | |
parent | 1346870046231348668d896b2bf13afd6f0106a9 (diff) |
pm
-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]) |