diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-01-17 15:10:49 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-01-17 15:10:49 -0500 |
commit | 7c17770cf37c4fa928a6c24b72549e018f5871fa (patch) | |
tree | 4fb3c927f62a53ac9bad73d66f528cd60ff9a6e0 /src/lpm.lua | |
parent | 3a67f20f0bc737e3efa05b369739326d08093ce8 (diff) | |
download | lite-xl-plugin-manager-7c17770cf37c4fa928a6c24b72549e018f5871fa.tar.gz lite-xl-plugin-manager-7c17770cf37c4fa928a6c24b72549e018f5871fa.zip |
Added test, and added in specifier for path.v0.9994
Diffstat (limited to 'src/lpm.lua')
-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 b5aeaaa..48f30d6 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -740,7 +740,7 @@ function Addon:install(bottle, installing) elseif self.remote then log_progress_action("Fetching repository " .. self.remote .. " into " .. install_path) local repo = Repository.url(self.remote):fetch() - common.copy(repo.local_path, temporary_install_path) + common.copy(repo.local_path .. (self.path and (PATHSEP .. self.path) or ""), temporary_install_path) common.rmrf(temporary_install_path .. PATHSEP .. ".git") common.rmrf(temporary_install_path .. PATHSEP .. ".gitignore") elseif self.path then |