1
0
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:
kepler155c@gmail.com
2019-07-20 16:23:48 -06:00
parent 09be81be27
commit 30b7199976
4 changed files with 6 additions and 7 deletions

View File

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