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
|
sg.installed = true
|
||||||
end
|
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... ")
|
write("Checking for mcwarp... ")
|
||||||
if not(fs.exists(mw.filename)) then
|
if not(fs.exists(mw.filename)) then
|
||||||
print("not installed.")
|
print("not installed.")
|
||||||
shell.run("san-get", "install", "mcwarp")
|
|
||||||
elseif (fs.isDir(mw.filename)) then
|
elseif (fs.isDir(mw.filename)) then
|
||||||
print("it is directory?!?")
|
print("it is directory?!?")
|
||||||
fs.delete(mw.filename) -- установка любой ценой (2)
|
fs.delete(mw.filename) -- установка любой ценой (2)
|
||||||
|
@ -31,10 +33,10 @@ else
|
||||||
end
|
end
|
||||||
|
|
||||||
if mw.installed then
|
if mw.installed then
|
||||||
shell.run("san-get","update", "mcwarp")
|
shell.run("san-get", "update", "mcwarp")
|
||||||
print("Multicore Warper updated successfully.")
|
print("Multicore Warper updated successfully.")
|
||||||
else
|
else
|
||||||
shell.run("san-get", "install", "mcwarp")
|
shell.run("san-get", "install", "mcwarp")
|
||||||
print("Multicore Warper installed successfully.")
|
print("Multicore Warper installed successfully.")
|
||||||
print("Run mcwarp to setup your ship.")
|
print("Run mcwarp to setup your ship.")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue