From 2edbb42aa470043ceb0d0476f87848e94fc4ed38 Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Tue, 1 Aug 2023 20:48:19 +1000 Subject: [PATCH] have pkgman create the directories it needs rather than fail for cryptic reasons --- lib/pkgman.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pkgman.lua b/lib/pkgman.lua index 3f565b2..e9b5ce5 100644 --- a/lib/pkgman.lua +++ b/lib/pkgman.lua @@ -7,6 +7,8 @@ pkg.sourcePath = pkg.cfgPath .. "/sources.cfg" pkg.installedPath = pkg.cfgPath .. "/installed.cfg" local w, lz16 = pcall(require,"liblz16") if not w then lz16 = nil end +fs.makeDirectory("/boot/pkg") +fs.makeDirectory("/boot/cfg/pkg") require "pkgfs" local function getSources()