MCWarp updater script fix
Now points to proper san-get.
This commit is contained in:
parent
7279b5e4ad
commit
4f6f4ff1d1
1 changed files with 6 additions and 4 deletions
|
@ -16,12 +16,14 @@ else
|
|||
sg.installed = true
|
||||
end
|
||||
|
||||
if not sg.installed then shell.run("pastebin","run", "qe4nQP8F") end
|
||||
if not sg.installed then
|
||||
shell.run("pastebin", "get", "f89mQwxK", "san-get")
|
||||
shell.run("san-get", "update")
|
||||
end
|
||||
|
||||
write("Checking for mcwarp... ")
|
||||
if not(fs.exists(mw.filename)) then
|
||||
print("not installed.")
|
||||
shell.run("san-get", "install", "mcwarp")
|
||||
elseif (fs.isDir(mw.filename)) then
|
||||
print("it is directory?!?")
|
||||
fs.delete(mw.filename) -- установка любой ценой (2)
|
||||
|
@ -31,10 +33,10 @@ else
|
|||
end
|
||||
|
||||
if mw.installed then
|
||||
shell.run("san-get","update", "mcwarp")
|
||||
shell.run("san-get", "update", "mcwarp")
|
||||
print("Multicore Warper updated successfully.")
|
||||
else
|
||||
shell.run("san-get", "install", "mcwarp")
|
||||
print("Multicore Warper installed successfully.")
|
||||
print("Run mcwarp to setup your ship.")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue