diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lpm.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lpm.lua b/src/lpm.lua index 4d92faf..5a4acb7 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1467,6 +1467,7 @@ end local DEFAULT_REPOS local function lpm_repo_init(repos) DEFAULT_REPOS = { Repository.url("https://github.com/adamharrison/lite-xl-plugin-manager.git:latest") } + common.mkdirp(CACHEDIR) if not system.stat(CACHEDIR .. PATHSEP .. "settings.json") then for i, repository in ipairs(repos or DEFAULT_REPOS) do table.insert(repositories, repository:add(true)) |