mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Switching to a fresher source of node for Ubuntu
This commit is contained in:
parent
6c731d1e03
commit
ace7d3d64e
1 changed files with 3 additions and 2 deletions
|
@ -142,8 +142,9 @@ class LinuxSetup(SetupFactory):
|
||||||
"--recv", "7F0CEB10"])
|
"--recv", "7F0CEB10"])
|
||||||
subprocess.check_call(["add-apt-repository",
|
subprocess.check_call(["add-apt-repository",
|
||||||
"deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen"])
|
"deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen"])
|
||||||
subprocess.check_call(["add-apt-repository",
|
subprocess.check_call(["curl", "-sL",
|
||||||
"ppa:chris-lea/node.js"])
|
"https://deb.nodesource.com/setup",
|
||||||
|
"|", "bash"], shell=True)
|
||||||
subprocess.check_call(["apt-get", "update"])
|
subprocess.check_call(["apt-get", "update"])
|
||||||
except subprocess.CalledProcessError as err:
|
except subprocess.CalledProcessError as err:
|
||||||
print("Adding repositories failed. Retry, Install without"
|
print("Adding repositories failed. Retry, Install without"
|
||||||
|
|
Loading…
Reference in a new issue