mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -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"])
|
||||
subprocess.check_call(["add-apt-repository",
|
||||
"deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen"])
|
||||
subprocess.check_call(["add-apt-repository",
|
||||
"ppa:chris-lea/node.js"])
|
||||
subprocess.check_call(["curl", "-sL",
|
||||
"https://deb.nodesource.com/setup",
|
||||
"|", "bash"], shell=True)
|
||||
subprocess.check_call(["apt-get", "update"])
|
||||
except subprocess.CalledProcessError as err:
|
||||
print("Adding repositories failed. Retry, Install without"
|
||||
|
|
Loading…
Reference in a new issue