mirror of
https://github.com/kepler155c/opus
synced 2025-10-28 22:27:39 +00:00
path fix + compat changes
This commit is contained in:
@@ -19,7 +19,7 @@ end
|
||||
if not fs.exists('usr/config/shell') then
|
||||
Util.writeTable('usr/config/shell', {
|
||||
aliases = shell.aliases(),
|
||||
path = 'usr/apps',
|
||||
path = '/usr/apps',
|
||||
lua_path = package.path,
|
||||
upgraded = 1,
|
||||
})
|
||||
@@ -36,7 +36,7 @@ if config.aliases then
|
||||
end
|
||||
|
||||
local path = config.path and Util.split(config.path, '(.-):') or { }
|
||||
table.insert(path, 'sys/apps')
|
||||
table.insert(path, '/sys/apps')
|
||||
for _, v in pairs(Util.split(shell.path(), '(.-):')) do
|
||||
table.insert(path, v)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user