Pārlūkot izejas kodu

have pkgman create the directories it needs rather than fail for cryptic reasons

master
XeonSquared pirms 9 mēnešiem
vecāks
revīzija
2edbb42aa4
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      lib/pkgman.lua

+ 2
- 0
lib/pkgman.lua Parādīt failu

@@ -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()


Notiek ielāde…
Atcelt
Saglabāt