From 0f2a390d03030ddcc3755c6d955f92e567fb0ae6 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Sat, 1 Jul 2023 15:21:20 -0400 Subject: Added appropriate mkdirp to fix an issue with custom inits. --- src/lpm.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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)) -- cgit v1.2.3