mirror of
https://github.com/kepler155c/opus
synced 2025-01-12 16:51:05 +00:00
id upgrade fixes
This commit is contained in:
parent
833ac76f78
commit
f0846c8daa
@ -1,4 +1,4 @@
|
|||||||
local DEFAULT_UPATH = 'https://raw.githubusercontent.com/kepler155c/opus/master/sys/apis'
|
local DEFAULT_UPATH = 'https://raw.githubusercontent.com/kepler155c/opus/develop/sys/apis'
|
||||||
local PASTEBIN_URL = 'http://pastebin.com/raw'
|
local PASTEBIN_URL = 'http://pastebin.com/raw'
|
||||||
local GIT_URL = 'https://raw.githubusercontent.com'
|
local GIT_URL = 'https://raw.githubusercontent.com'
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ term.setCursorPos((w - #str) / 2, h)
|
|||||||
term.write(str)
|
term.write(str)
|
||||||
term.setCursorPos(w, h)
|
term.setCursorPos(w, h)
|
||||||
|
|
||||||
local GIT_REPO = 'kepler155c/opus/master'
|
local GIT_REPO = 'kepler155c/opus/develop'
|
||||||
local BASE = 'https://raw.githubusercontent.com/' .. GIT_REPO
|
local BASE = 'https://raw.githubusercontent.com/' .. GIT_REPO
|
||||||
|
|
||||||
local function makeEnv()
|
local function makeEnv()
|
||||||
@ -87,7 +87,7 @@ if not fs.exists('usr/autorun') then
|
|||||||
fs.makeDir('usr/autorun')
|
fs.makeDir('usr/autorun')
|
||||||
end
|
end
|
||||||
if not fs.exists('usr/etc/fstab') or not fs.exists('usr/etc/fstab.ignore') then
|
if not fs.exists('usr/etc/fstab') or not fs.exists('usr/etc/fstab.ignore') then
|
||||||
Util.writeFile('usr/etc/fstab', 'usr gitfs kepler155c/opus-apps/master')
|
Util.writeFile('usr/etc/fstab', 'usr gitfs kepler155c/opus-apps/develop')
|
||||||
Util.writeFile('usr/etc/fstab.ignore', 'forced fstab overwrite')
|
Util.writeFile('usr/etc/fstab.ignore', 'forced fstab overwrite')
|
||||||
end
|
end
|
||||||
if not fs.exists('usr/config/shell') then
|
if not fs.exists('usr/config/shell') then
|
||||||
|
Loading…
Reference in New Issue
Block a user