mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-24 04:22:53 -05:00
have pkgman create the directories it needs rather than fail for cryptic reasons
This commit is contained in:
parent
7849fca4a0
commit
2edbb42aa4
@ -7,6 +7,8 @@ pkg.sourcePath = pkg.cfgPath .. "/sources.cfg"
|
|||||||
pkg.installedPath = pkg.cfgPath .. "/installed.cfg"
|
pkg.installedPath = pkg.cfgPath .. "/installed.cfg"
|
||||||
local w, lz16 = pcall(require,"liblz16")
|
local w, lz16 = pcall(require,"liblz16")
|
||||||
if not w then lz16 = nil end
|
if not w then lz16 = nil end
|
||||||
|
fs.makeDirectory("/boot/pkg")
|
||||||
|
fs.makeDirectory("/boot/cfg/pkg")
|
||||||
require "pkgfs"
|
require "pkgfs"
|
||||||
|
|
||||||
local function getSources()
|
local function getSources()
|
||||||
|
Loading…
Reference in New Issue
Block a user