Переглянути джерело

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


Завантаження…
Відмінити
Зберегти