summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm.lua b/pm.lua
index cda18c0..12ef864 100644
--- a/pm.lua
+++ b/pm.lua
@@ -63,7 +63,7 @@ local function manifest(pkgname)
if not files_present then
local default_filename = pkgname .. ".lua"
- if not pkgname:match("%.") then
+ if pkgname:match("%.") then
default_filename = pkgname
end
files[default_filename]=true