diff options
-rw-r--r-- | pm.lua | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -61,7 +61,13 @@ local function manifest(pkgname) end end - if not files_present then files[pkgname..".lua"]=true end + if not files_present then + local default_filename = pkgname .. ".lua" + if not pkgname:match("%.") then + default_filename = pkgname + end + files[default_filename]=true + end local man = {files=files,deps=deps} _manifests[pkgname] = man return man |