summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--listener.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/listener.lua b/listener.lua
index 172c721..1419f99 100644
--- a/listener.lua
+++ b/listener.lua
@@ -10,6 +10,7 @@ function main()
print("got msg",parsed.msg)
-- more sophisticated cmds later, maybe
local pkgname = parsed.msg:gsub("%s","")
+ pm.cc()
pm.dl(pkgname)
shell.run('bg '..pkgname)
end