summaryrefslogtreecommitdiff
path: root/pm.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-08-03 23:41:59 +0100
committerubq323 <ubq323@ubq323.website>2022-08-03 23:41:59 +0100
commit9d7302c75fdbb2f04b274fa63b912570226f7536 (patch)
tree621fb9000b8d027df23058934ea90faae01bbe03 /pm.lua
parent1346870046231348668d896b2bf13afd6f0106a9 (diff)
pm
Diffstat (limited to 'pm.lua')
-rw-r--r--pm.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/pm.lua b/pm.lua
index 7d8873a..1c497b1 100644
--- a/pm.lua
+++ b/pm.lua
@@ -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])