mirror of
https://github.com/kepler155c/opus
synced 2024-12-24 23:50:26 +00:00
package management
This commit is contained in:
parent
c478781cba
commit
67be1e0f2f
@ -27,11 +27,9 @@ end
|
||||
|
||||
for name, package in pairs(Packages:installed()) do
|
||||
local packageDir = fs.combine('packages', name)
|
||||
debug(fs.combine(packageDir, '.install'))
|
||||
if fs.exists(fs.combine(packageDir, '.install')) then
|
||||
local install = Util.readTable(fs.combine(packageDir, '.install'))
|
||||
if install and install.mount then
|
||||
debug('mounting: ' .. install.mount)
|
||||
fs.mount(table.unpack(Util.matches(install.mount)))
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user