瀏覽代碼

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

master
XeonSquared 9 月之前
父節點
當前提交
2edbb42aa4
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      lib/pkgman.lua

+ 2
- 0
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()


Loading…
取消
儲存