Parcourir la source

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

master
XeonSquared il y a 9 mois
Parent
révision
2edbb42aa4
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +2
    -0
      lib/pkgman.lua

+ 2
- 0
lib/pkgman.lua Voir le fichier

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


Chargement…
Annuler
Enregistrer