diff options
-rw-r--r-- | src/lpm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua index e122fe9..824b286 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1144,7 +1144,7 @@ function Repository:generate_manifest(repo_id) end function Repository:fetch_if_not_present() - if system.stat(self.local_path) then return end + if system.stat(self.local_path) then return self end return self:fetch() end |